Defines an operation. A NodeDef in a GraphDef specifies an Op by using the "op" field which should match the name of a OpDef. LINT.IfChangeProtobuf typu
tensorflow.OpDef
Metody publiczne
Konstruktor OpDef | addAllAttr (Iterable<? rozszerza wartości OpDef.AttrDef >) repeated .tensorflow.OpDef.AttrDef attr = 4; |
Konstruktor OpDef | addAllControlOutput (wartości Iterable<String>) Named control outputs for this operation. |
Konstruktor OpDef | |
Konstruktor OpDef | |
Konstruktor OpDef | |
Konstruktor OpDef | addAttr (indeks int, OpDef.AttrDef.Builder builderForValue) repeated .tensorflow.OpDef.AttrDef attr = 4; |
Konstruktor OpDef | |
Konstruktor OpDef | |
Konstruktor OpDef.AttrDef | addAttrBuilder () repeated .tensorflow.OpDef.AttrDef attr = 4; |
Konstruktor OpDef.AttrDef | addAttrBuilder (indeks int) repeated .tensorflow.OpDef.AttrDef attr = 4; |
Konstruktor OpDef | addControlOutput (wartość ciągu) Named control outputs for this operation. |
Konstruktor OpDef | addControlOutputBytes (wartość com.google.protobuf.ByteString) Named control outputs for this operation. |
Konstruktor OpDef | |
Konstruktor OpDef | |
Konstruktor OpDef | |
Konstruktor OpDef | |
OpDef.ArgDef.Builder | addInputArgBuilder () Description of the input(s). |
Konstruktor OpDef.ArgDef | addInputArgBuilder (indeks int) Description of the input(s). |
Konstruktor OpDef | |
Konstruktor OpDef | |
Konstruktor OpDef | |
Konstruktor OpDef | |
Konstruktor OpDef.ArgDef | addOutputArgBuilder (indeks int) Description of the output(s). |
Konstruktor OpDef.ArgDef | addOutputArgBuilder () Description of the output(s). |
Konstruktor OpDef | addRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu) |
OpDef | zbudować () |
OpDef | |
Konstruktor OpDef | jasne () |
Konstruktor OpDef | clearAllowsUninitializedInput () By default, all inputs to an Op must be initialized Tensors. |
Konstruktor OpDef | wyczyśćAttr () repeated .tensorflow.OpDef.AttrDef attr = 4; |
Konstruktor OpDef | clearControlOutput () Named control outputs for this operation. |
Konstruktor OpDef | wyczyśćDeprecjację () Optional deprecation based on GraphDef versions. |
Konstruktor OpDef | jasneOpis () Additional, longer human-readable description of what the Op does. |
Konstruktor OpDef | clearField (pole com.google.protobuf.Descriptors.FieldDescriptor) |
Konstruktor OpDef | wyczyśćInputArg () Description of the input(s). |
Konstruktor OpDef | clearIsAggregate () If is_aggregate is true, then this operation accepts N >= 2 inputs and produces 1 output all of the same type. |
Konstruktor OpDef | jasneJestPrzemienne () True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs) bool is_commutative = 18; |
Konstruktor OpDef | clearIsStateful () Ops are marked as stateful if their behavior depends on some state beyond their input tensors (e.g. |
Konstruktor OpDef | wyczyśćNazwa () Op names starting with an underscore are reserved for internal use. |
Konstruktor OpDef | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Konstruktor OpDef | wyczyśćOutputArg () Description of the output(s). |
Konstruktor OpDef | jasnePodsumowanie () One-line human-readable description of what the Op does. |
Konstruktor OpDef | klon () |
wartość logiczna | getAllowsUninitializedInput () By default, all inputs to an Op must be initialized Tensors. |
OpDef.AttrDef | getAttr (indeks int) repeated .tensorflow.OpDef.AttrDef attr = 4; |
Konstruktor OpDef.AttrDef | getAttrBuilder (indeks int) repeated .tensorflow.OpDef.AttrDef attr = 4; |
Lista< OpDef.AttrDef.Builder > | getAttrBuilderList () repeated .tensorflow.OpDef.AttrDef attr = 4; |
wew | getAttrCount () repeated .tensorflow.OpDef.AttrDef attr = 4; |
Lista< OpDef.AttrDef > | getAttrList () repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.AttrDefOrBuilder | getAttrOrBuilder (indeks int) repeated .tensorflow.OpDef.AttrDef attr = 4; |
Lista<? rozszerza OpDef.AttrDefOrBuilder > | getAttrOrBuilderList () repeated .tensorflow.OpDef.AttrDef attr = 4; |
Smyczkowy | getControlOutput (indeks int) Named control outputs for this operation. |
com.google.protobuf.ByteString | getControlOutputBytes (indeks int) Named control outputs for this operation. |
wew | getControlOutputCount () Named control outputs for this operation. |
com.google.protobuf.ProtocolStringList | getControlOutputList () Named control outputs for this operation. |
OpDef | |
OpDeprecjacja | pobierzDeprecjację () Optional deprecation based on GraphDef versions. |
OpDeprecation.Builder | pobierzDeprecationBuilder () Optional deprecation based on GraphDef versions. |
OpDeprecationOrBuilder | getDeprecationOrBuilder () Optional deprecation based on GraphDef versions. |
Smyczkowy | pobierz opis () Additional, longer human-readable description of what the Op does. |
com.google.protobuf.ByteString | getDescriptionBytes () Additional, longer human-readable description of what the Op does. |
końcowy statyczny com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
OpDef.ArgDef | getInputArg (indeks int) Description of the input(s). |
Konstruktor OpDef.ArgDef | getInputArgBuilder (indeks int) Description of the input(s). |
Lista< OpDef.ArgDef.Builder > | getInputArgBuilderList () Description of the input(s). |
wew | getInputArgCount () Description of the input(s). |
Lista< OpDef.ArgDef > | getInputArgList () Description of the input(s). |
OpDef.ArgDefOrBuilder | getInputArgOrBuilder (indeks int) Description of the input(s). |
Lista<? rozszerza OpDef.ArgDefOrBuilder > | getInputArgOrBuilderList () Description of the input(s). |
wartość logiczna | getIsAggregate () If is_aggregate is true, then this operation accepts N >= 2 inputs and produces 1 output all of the same type. |
wartość logiczna | getIsPrzemienna () True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs) bool is_commutative = 18; |
wartość logiczna | getIsStateful () Ops are marked as stateful if their behavior depends on some state beyond their input tensors (e.g. |
Smyczkowy | pobierz nazwę () Op names starting with an underscore are reserved for internal use. |
com.google.protobuf.ByteString | getNameBytes () Op names starting with an underscore are reserved for internal use. |
OpDef.ArgDef | getOutputArg (indeks int) Description of the output(s). |
Konstruktor OpDef.ArgDef | getOutputArgBuilder (indeks int) Description of the output(s). |
Lista< OpDef.ArgDef.Builder > | getOutputArgBuilderList () Description of the output(s). |
wew | getOutputArgCount () Description of the output(s). |
Lista< OpDef.ArgDef > | getOutputArgList () Description of the output(s). |
OpDef.ArgDefOrBuilder | getOutputArgOrBuilder (indeks int) Description of the output(s). |
Lista<? rozszerza OpDef.ArgDefOrBuilder > | getOutputArgOrBuilderList () Description of the output(s). |
Smyczkowy | pobierz podsumowanie () One-line human-readable description of what the Op does. |
com.google.protobuf.ByteString | getSummaryBytes () One-line human-readable description of what the Op does. |
wartość logiczna | maDeprecjację () Optional deprecation based on GraphDef versions. |
końcowa wartość logiczna | |
Konstruktor OpDef | |
Konstruktor OpDef | mergeFrom (com.google.protobuf.Wiadomość inna) |
Konstruktor OpDef | mergeFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
końcowy moduł OpDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldUstaw nieznane pola) |
Konstruktor OpDef | usuńAttr (indeks int) repeated .tensorflow.OpDef.AttrDef attr = 4; |
Konstruktor OpDef | usuńInputArg (indeks int) Description of the input(s). |
Konstruktor OpDef | usuńOutputArg (indeks int) Description of the output(s). |
Konstruktor OpDef | setAllowsUninitializedInput (wartość logiczna) By default, all inputs to an Op must be initialized Tensors. |
Konstruktor OpDef | |
Konstruktor OpDef | setAttr (indeks int, OpDef.AttrDef.Builder builderForValue) repeated .tensorflow.OpDef.AttrDef attr = 4; |
Konstruktor OpDef | setControlOutput (indeks int, wartość ciągu) Named control outputs for this operation. |
Konstruktor OpDef | setDeprecation ( OpDeprecation.Builder builderForValue) Optional deprecation based on GraphDef versions. |
Konstruktor OpDef | |
Konstruktor OpDef | setDescription (wartość ciągu) Additional, longer human-readable description of what the Op does. |
Konstruktor OpDef | setDescriptionBytes (wartość com.google.protobuf.ByteString) Additional, longer human-readable description of what the Op does. |
Konstruktor OpDef | setField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu) |
Konstruktor OpDef | |
Konstruktor OpDef | |
Konstruktor OpDef | setIsAggregate (wartość logiczna) If is_aggregate is true, then this operation accepts N >= 2 inputs and produces 1 output all of the same type. |
Konstruktor OpDef | setIsCommutative (wartość logiczna) True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs) bool is_commutative = 18; |
Konstruktor OpDef | setIsStateful (wartość logiczna) Ops are marked as stateful if their behavior depends on some state beyond their input tensors (e.g. |
Konstruktor OpDef | setName (wartość ciągu) Op names starting with an underscore are reserved for internal use. |
Konstruktor OpDef | setNameBytes (wartość com.google.protobuf.ByteString) Op names starting with an underscore are reserved for internal use. |
Konstruktor OpDef | |
Konstruktor OpDef | |
Konstruktor OpDef | setRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, indeks int, wartość obiektu) |
Konstruktor OpDef | setSummary (wartość ciągu) One-line human-readable description of what the Op does. |
Konstruktor OpDef | setSummaryBytes (wartość com.google.protobuf.ByteString) One-line human-readable description of what the Op does. |
końcowy moduł OpDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldUstaw nieznane pola) |
Metody dziedziczone
Metody publiczne
public OpDef.Builder addAllAttr (Iterable<? rozszerza wartości OpDef.AttrDef >)
repeated .tensorflow.OpDef.AttrDef attr = 4;
public OpDef.Builder addAllControlOutput (wartości Iterable<String>)
Named control outputs for this operation. Useful only for composite operations (i.e. functions) which want to name different control outputs.
repeated string control_output = 20;
public OpDef.Builder addAllInputArg (Iterable<? rozszerza wartości OpDef.ArgDef >)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public OpDef.Builder addAllOutputArg (Iterable<? rozszerza wartości OpDef.ArgDef >)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public OpDef.Builder addAttr ( OpDef.AttrDef.Builder builderForValue)
repeated .tensorflow.OpDef.AttrDef attr = 4;
public OpDef.Builder addAttr (indeks int, OpDef.AttrDef.Builder builderForValue)
repeated .tensorflow.OpDef.AttrDef attr = 4;
public OpDef.Builder addAttr (indeks int, wartość OpDef.AttrDef )
repeated .tensorflow.OpDef.AttrDef attr = 4;
public OpDef.AttrDef.Builder addAttrBuilder (indeks int)
repeated .tensorflow.OpDef.AttrDef attr = 4;
public OpDef.Builder addControlOutput (wartość ciągu)
Named control outputs for this operation. Useful only for composite operations (i.e. functions) which want to name different control outputs.
repeated string control_output = 20;
public OpDef.Builder addControlOutputBytes (wartość com.google.protobuf.ByteString)
Named control outputs for this operation. Useful only for composite operations (i.e. functions) which want to name different control outputs.
repeated string control_output = 20;
public OpDef.Builder addInputArg ( OpDef.ArgDef.Builder builderForValue)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public OpDef.Builder addInputArg (indeks int, wartość OpDef.ArgDef )
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public OpDef.Builder addInputArg (wartość OpDef.ArgDef )
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public OpDef.Builder addInputArg (indeks int, OpDef.ArgDef.Builder builderForValue)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public OpDef.ArgDef.Builder addInputArgBuilder ()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public OpDef.ArgDef.Builder addInputArgBuilder (indeks int)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public OpDef.Builder addOutputArg (indeks int, OpDef.ArgDef.Builder builderForValue)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public OpDef.Builder addOutputArg ( OpDef.ArgDef.Builder builderForValue)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public OpDef.Builder addOutputArg (indeks int, wartość OpDef.ArgDef )
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public OpDef.Builder addOutputArg (wartość OpDef.ArgDef )
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public OpDef.ArgDef.Builder addOutputArgBuilder (indeks int)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public OpDef.ArgDef.Builder addOutputArgBuilder ()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public OpDef.Builder addRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu)
public OpDef.Builder clearAllowsUninitializedInput ()
By default, all inputs to an Op must be initialized Tensors. Ops that may initialize tensors for the first time should set this field to true, to allow the Op to take an uninitialized Tensor as input.
bool allows_uninitialized_input = 19;
publiczny OpDef.Builder clearControlOutput ()
Named control outputs for this operation. Useful only for composite operations (i.e. functions) which want to name different control outputs.
repeated string control_output = 20;
public OpDef.Builder clearDeprecation ()
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
public OpDef.Builder clearDescription ()
Additional, longer human-readable description of what the Op does.
string description = 6;
publiczny OpDef.Builder clearInputArg ()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public OpDef.Builder clearIsAggregate ()
If is_aggregate is true, then this operation accepts N >= 2 inputs and produces 1 output all of the same type. Should be associative and commutative, and produce output with the same shape as the input. The optimizer may replace an aggregate op taking input from multiple devices with a tree of aggregate ops that aggregate locally within each device (and possibly within groups of nearby devices) before communicating. TODO(josh11b): Implement that optimization.
bool is_aggregate = 16;
public OpDef.Builder clearIsPrzemienna ()
True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs)
bool is_commutative = 18;
public OpDef.Builder clearIsStateful ()
Ops are marked as stateful if their behavior depends on some state beyond their input tensors (e.g. variable reading op) or if they have a side-effect (e.g. printing or asserting ops). Equivalently, stateless ops must always produce the same output for the same input and have no side-effects. By default Ops may be moved between devices. Stateful ops should either not be moved, or should only be moved if that state can also be moved (e.g. via some sort of save / restore). Stateful ops are guaranteed to never be optimized away by Common Subexpression Elimination (CSE).
bool is_stateful = 17;
publiczny OpDef.Builder clearName ()
Op names starting with an underscore are reserved for internal use. Names should be CamelCase and match the regexp "[A-Z][a-zA-Z0-9>_]*".
string name = 1;
public OpDef.Builder clearOutputArg ()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public OpDef.Builder clearPodsumowanie ()
One-line human-readable description of what the Op does.
string summary = 5;
publiczna wartość logiczna getAllowsUninitializedInput ()
By default, all inputs to an Op must be initialized Tensors. Ops that may initialize tensors for the first time should set this field to true, to allow the Op to take an uninitialized Tensor as input.
bool allows_uninitialized_input = 19;
public OpDef.AttrDef.Builder getAttrBuilder (indeks int)
repeated .tensorflow.OpDef.AttrDef attr = 4;
public List< OpDef.AttrDef.Builder > getAttrBuilderList ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
publiczny int getAttrCount ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
public OpDef.AttrDefOrBuilder getAttrOrBuilder (indeks int)
repeated .tensorflow.OpDef.AttrDef attr = 4;
lista publiczna<? rozszerza OpDef.AttrDefOrBuilder > getAttrOrBuilderList ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
public String getControlOutput (indeks int)
Named control outputs for this operation. Useful only for composite operations (i.e. functions) which want to name different control outputs.
repeated string control_output = 20;
public com.google.protobuf.ByteString getControlOutputBytes (indeks int)
Named control outputs for this operation. Useful only for composite operations (i.e. functions) which want to name different control outputs.
repeated string control_output = 20;
publiczny int getControlOutputCount ()
Named control outputs for this operation. Useful only for composite operations (i.e. functions) which want to name different control outputs.
repeated string control_output = 20;
public com.google.protobuf.ProtocolStringList getControlOutputList ()
Named control outputs for this operation. Useful only for composite operations (i.e. functions) which want to name different control outputs.
repeated string control_output = 20;
public OpDeprecation getDeprecation ()
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
public OpDeprecation.Builder getDeprecationBuilder ()
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
public OpDeprecationOrBuilder getDeprecationOrBuilder ()
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
public String getDescription ()
Additional, longer human-readable description of what the Op does.
string description = 6;
public com.google.protobuf.ByteString getDescriptionBytes ()
Additional, longer human-readable description of what the Op does.
string description = 6;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public OpDef.ArgDef getInputArg (indeks int)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public OpDef.ArgDef.Builder getInputArgBuilder (indeks int)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
lista publiczna< OpDef.ArgDef.Builder > getInputArgBuilderList ()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
publiczny int getInputArgCount ()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
lista publiczna< OpDef.ArgDef > getInputArgList ()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public OpDef.ArgDefOrBuilder getInputArgOrBuilder (indeks int)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
lista publiczna<? rozszerza OpDef.ArgDefOrBuilder > getInputArgOrBuilderList ()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
publiczna wartość logiczna getIsAggregate ()
If is_aggregate is true, then this operation accepts N >= 2 inputs and produces 1 output all of the same type. Should be associative and commutative, and produce output with the same shape as the input. The optimizer may replace an aggregate op taking input from multiple devices with a tree of aggregate ops that aggregate locally within each device (and possibly within groups of nearby devices) before communicating. TODO(josh11b): Implement that optimization.
bool is_aggregate = 16;
publiczna wartość logiczna getIsPrzemienna ()
True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs)
bool is_commutative = 18;
publiczna wartość logiczna getIsStateful ()
Ops are marked as stateful if their behavior depends on some state beyond their input tensors (e.g. variable reading op) or if they have a side-effect (e.g. printing or asserting ops). Equivalently, stateless ops must always produce the same output for the same input and have no side-effects. By default Ops may be moved between devices. Stateful ops should either not be moved, or should only be moved if that state can also be moved (e.g. via some sort of save / restore). Stateful ops are guaranteed to never be optimized away by Common Subexpression Elimination (CSE).
bool is_stateful = 17;
public String getName ()
Op names starting with an underscore are reserved for internal use. Names should be CamelCase and match the regexp "[A-Z][a-zA-Z0-9>_]*".
string name = 1;
public com.google.protobuf.ByteString getNameBytes ()
Op names starting with an underscore are reserved for internal use. Names should be CamelCase and match the regexp "[A-Z][a-zA-Z0-9>_]*".
string name = 1;
public OpDef.ArgDef getOutputArg (indeks int)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public OpDef.ArgDef.Builder getOutputArgBuilder (indeks int)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
lista publiczna< OpDef.ArgDef.Builder > getOutputArgBuilderList ()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
publiczny int getOutputArgCount ()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
lista publiczna< OpDef.ArgDef > getOutputArgList ()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public OpDef.ArgDefOrBuilder getOutputArgOrBuilder (indeks int)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
lista publiczna<? rozszerza OpDef.ArgDefOrBuilder > getOutputArgOrBuilderList ()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public String getSummary ()
One-line human-readable description of what the Op does.
string summary = 5;
public com.google.protobuf.ByteString getSummaryBytes ()
One-line human-readable description of what the Op does.
string summary = 5;
publiczna wartość logiczna maDeprecation ()
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
publiczna końcowa wartość logiczna isInitialized ()
public OpDef.Builder mergeDeprecation (wartość OpDeprecation )
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
publiczne OpDef.Builder mergeFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite rozszerzenieRegistry)
Rzuca
Wyjątek IO |
---|
publiczne ostateczne połączenie OpDef.BuilderUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public OpDef.Builder usuńInputArg (indeks int)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public OpDef.Builder usuńOutputArg (indeks int)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public OpDef.Builder setAllowsUninitializedInput (wartość logiczna)
By default, all inputs to an Op must be initialized Tensors. Ops that may initialize tensors for the first time should set this field to true, to allow the Op to take an uninitialized Tensor as input.
bool allows_uninitialized_input = 19;
public OpDef.Builder setAttr (indeks int, wartość OpDef.AttrDef )
repeated .tensorflow.OpDef.AttrDef attr = 4;
public OpDef.Builder setAttr (indeks int, OpDef.AttrDef.Builder builderForValue)
repeated .tensorflow.OpDef.AttrDef attr = 4;
public OpDef.Builder setControlOutput (indeks int, wartość ciągu)
Named control outputs for this operation. Useful only for composite operations (i.e. functions) which want to name different control outputs.
repeated string control_output = 20;
public OpDef.Builder setDeprecation ( OpDeprecation.Builder builderForValue)
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
public OpDef.Builder setDeprecation (wartość OpDeprecation )
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
public OpDef.Builder setDescription (wartość ciągu)
Additional, longer human-readable description of what the Op does.
string description = 6;
public OpDef.Builder setDescriptionBytes (wartość com.google.protobuf.ByteString)
Additional, longer human-readable description of what the Op does.
string description = 6;
public OpDef.Builder setField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu)
public OpDef.Builder setInputArg (indeks int, wartość OpDef.ArgDef )
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public OpDef.Builder setInputArg (indeks int, OpDef.ArgDef.Builder builderForValue)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public OpDef.Builder setIsAggregate (wartość logiczna)
If is_aggregate is true, then this operation accepts N >= 2 inputs and produces 1 output all of the same type. Should be associative and commutative, and produce output with the same shape as the input. The optimizer may replace an aggregate op taking input from multiple devices with a tree of aggregate ops that aggregate locally within each device (and possibly within groups of nearby devices) before communicating. TODO(josh11b): Implement that optimization.
bool is_aggregate = 16;
public OpDef.Builder setIsCommutative (wartość logiczna)
True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs)
bool is_commutative = 18;
public OpDef.Builder setIsStateful (wartość logiczna)
Ops are marked as stateful if their behavior depends on some state beyond their input tensors (e.g. variable reading op) or if they have a side-effect (e.g. printing or asserting ops). Equivalently, stateless ops must always produce the same output for the same input and have no side-effects. By default Ops may be moved between devices. Stateful ops should either not be moved, or should only be moved if that state can also be moved (e.g. via some sort of save / restore). Stateful ops are guaranteed to never be optimized away by Common Subexpression Elimination (CSE).
bool is_stateful = 17;
public OpDef.Builder setName (wartość ciągu)
Op names starting with an underscore are reserved for internal use. Names should be CamelCase and match the regexp "[A-Z][a-zA-Z0-9>_]*".
string name = 1;
public OpDef.Builder setNameBytes (wartość com.google.protobuf.ByteString)
Op names starting with an underscore are reserved for internal use. Names should be CamelCase and match the regexp "[A-Z][a-zA-Z0-9>_]*".
string name = 1;
public OpDef.Builder setOutputArg (indeks int, wartość OpDef.ArgDef )
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
publiczny OpDef.Builder setOutputArg (indeks int, OpDef.ArgDef.Builder builderForValue)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public OpDef.Builder setRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, indeks int, wartość obiektu)
public OpDef.Builder setSummary (wartość ciągu)
One-line human-readable description of what the Op does.
string summary = 5;
public OpDef.Builder setSummaryBytes (wartość com.google.protobuf.ByteString)
One-line human-readable description of what the Op does.
string summary = 5;