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.IfChange
tensorflow.OpDef
de type Protobuf.OpDef Méthodes publiques
OpDef.Builder | |
OpDef.Builder | addAllControlOutput (valeurs Iterable<String>) Named control outputs for this operation. |
OpDef.Builder | |
OpDef.Builder | |
OpDef.Builder | |
OpDef.Builder | addAttr (index int, OpDef.AttrDef.Builder builderForValue) repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.Builder | |
OpDef.Builder | |
OpDef.AttrDef.Builder | addAttrBuilder () repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.AttrDef.Builder | addAttrBuilder (index int) repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.Builder | addControlOutput (valeur de chaîne) Named control outputs for this operation. |
OpDef.Builder | addControlOutputBytes (valeur com.google.protobuf.ByteString) Named control outputs for this operation. |
OpDef.Builder | |
OpDef.Builder | |
OpDef.Builder | |
OpDef.Builder | |
OpDef.ArgDef.Builder | addInputArgBuilder () Description of the input(s). |
OpDef.ArgDef.Builder | addInputArgBuilder (index int) Description of the input(s). |
OpDef.Builder | |
OpDef.Builder | |
OpDef.Builder | |
OpDef.Builder | |
OpDef.ArgDef.Builder | addOutputArgBuilder (index int) Description of the output(s). |
OpDef.ArgDef.Builder | addOutputArgBuilder () Description of the output(s). |
OpDef.Builder | addRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet) |
OpDef | construire () |
OpDef | buildPartial () |
OpDef.Builder | clair () |
OpDef.Builder | clearAllowsUninitializedInput () By default, all inputs to an Op must be initialized Tensors. |
OpDef.Builder | effacerAttr () repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.Builder | clearControlOutput () Named control outputs for this operation. |
OpDef.Builder | clearDépréciation () Optional deprecation based on GraphDef versions. |
OpDef.Builder | effacerDescription () Additional, longer human-readable description of what the Op does. |
OpDef.Builder | clearField (champ com.google.protobuf.Descriptors.FieldDescriptor) |
OpDef.Builder | clearInputArg () Description of the input(s). |
OpDef.Builder | clearIsAggregate () If is_aggregate is true, then this operation accepts N >= 2 inputs and produces 1 output all of the same type. |
OpDef.Builder | clearIsCommutative () True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs) bool is_commutative = 18; |
OpDef.Builder | clearIsStateful () Ops are marked as stateful if their behavior depends on some state beyond their input tensors (e.g. |
OpDef.Builder | nom clair () Op names starting with an underscore are reserved for internal use. |
OpDef.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
OpDef.Builder | clearOutputArg () Description of the output(s). |
OpDef.Builder | effacerRésumé () One-line human-readable description of what the Op does. |
OpDef.Builder | cloner () |
booléen | getAllowsUninitializedInput () By default, all inputs to an Op must be initialized Tensors. |
OpDef.AttrDef | getAttr (index int) repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.AttrDef.Builder | getAttrBuilder (index int) repeated .tensorflow.OpDef.AttrDef attr = 4; |
Liste< OpDef.AttrDef.Builder > | getAttrBuilderList () repeated .tensorflow.OpDef.AttrDef attr = 4; |
int | getAttrCount () repeated .tensorflow.OpDef.AttrDef attr = 4; |
Liste< OpDef.AttrDef > | getAttrListe () repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.AttrDefOrBuilder | getAttrOrBuilder (index int) repeated .tensorflow.OpDef.AttrDef attr = 4; |
Liste<? étend OpDef.AttrDefOrBuilder > | getAttrOrBuilderList () repeated .tensorflow.OpDef.AttrDef attr = 4; |
Chaîne | getControlOutput (index int) Named control outputs for this operation. |
com.google.protobuf.ByteString | getControlOutputBytes (index int) Named control outputs for this operation. |
int | getControlOutputCount () Named control outputs for this operation. |
com.google.protobuf.ProtocolStringList | getControlOutputList () Named control outputs for this operation. |
OpDef | |
OpDépréciation | getDépréciation () Optional deprecation based on GraphDef versions. |
OpDeprecation.Builder | getDeprecationBuilder () Optional deprecation based on GraphDef versions. |
OpDeprecationOrBuilder | getDeprecationOrBuilder () Optional deprecation based on GraphDef versions. |
Chaîne | obtenirDescription () 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. |
final statique com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
OpDef.ArgDef | getInputArg (index int) Description of the input(s). |
OpDef.ArgDef.Builder | getInputArgBuilder (index int) Description of the input(s). |
Liste< OpDef.ArgDef.Builder > | getInputArgBuilderList () Description of the input(s). |
int | getInputArgCount () Description of the input(s). |
Liste< OpDef.ArgDef > | getInputArgList () Description of the input(s). |
OpDef.ArgDefOrBuilder | getInputArgOrBuilder (index int) Description of the input(s). |
Liste<? étend OpDef.ArgDefOrBuilder > | getInputArgOrBuilderList () Description of the input(s). |
booléen | getIsAggregate () If is_aggregate is true, then this operation accepts N >= 2 inputs and produces 1 output all of the same type. |
booléen | getIsCommutative () True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs) bool is_commutative = 18; |
booléen | getIsStateful () Ops are marked as stateful if their behavior depends on some state beyond their input tensors (e.g. |
Chaîne | obtenirNom () 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 (index int) Description of the output(s). |
OpDef.ArgDef.Builder | getOutputArgBuilder (index int) Description of the output(s). |
Liste< OpDef.ArgDef.Builder > | getOutputArgBuilderList () Description of the output(s). |
int | getOutputArgCount () Description of the output(s). |
Liste< OpDef.ArgDef > | getOutputArgList () Description of the output(s). |
OpDef.ArgDefOrBuilder | getOutputArgOrBuilder (index int) Description of the output(s). |
Liste<? étend OpDef.ArgDefOrBuilder > | getOutputArgOrBuilderList () Description of the output(s). |
Chaîne | getRésumé () 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. |
booléen | hasDépréciation () Optional deprecation based on GraphDef versions. |
booléen final | |
OpDef.Builder | |
OpDef.Builder | mergeFrom (com.google.protobuf.Message autre) |
OpDef.Builder | mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OpDef.Builder final | mergeUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields) |
OpDef.Builder | RemoveAttr (index int) repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.Builder | RemoveInputArg (index int) Description of the input(s). |
OpDef.Builder | RemoveOutputArg (index int) Description of the output(s). |
OpDef.Builder | setAllowsUninitializedInput (valeur booléenne) By default, all inputs to an Op must be initialized Tensors. |
OpDef.Builder | |
OpDef.Builder | setAttr (index int, OpDef.AttrDef.Builder builderForValue) repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.Builder | setControlOutput (index int, valeur de chaîne) Named control outputs for this operation. |
OpDef.Builder | setDeprecation ( OpDeprecation.Builder builderForValue) Optional deprecation based on GraphDef versions. |
OpDef.Builder | |
OpDef.Builder | setDescription (valeur de chaîne) Additional, longer human-readable description of what the Op does. |
OpDef.Builder | setDescriptionBytes (valeur com.google.protobuf.ByteString) Additional, longer human-readable description of what the Op does. |
OpDef.Builder | setField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet) |
OpDef.Builder | |
OpDef.Builder | |
OpDef.Builder | setIsAggregate (valeur booléenne) If is_aggregate is true, then this operation accepts N >= 2 inputs and produces 1 output all of the same type. |
OpDef.Builder | setIsCommutative (valeur booléenne) True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs) bool is_commutative = 18; |
OpDef.Builder | setIsStateful (valeur booléenne) Ops are marked as stateful if their behavior depends on some state beyond their input tensors (e.g. |
OpDef.Builder | setName (valeur de chaîne) Op names starting with an underscore are reserved for internal use. |
OpDef.Builder | setNameBytes (valeur com.google.protobuf.ByteString) Op names starting with an underscore are reserved for internal use. |
OpDef.Builder | |
OpDef.Builder | |
OpDef.Builder | setRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, index int, valeur de l'objet) |
OpDef.Builder | setSummary (valeur de chaîne) One-line human-readable description of what the Op does. |
OpDef.Builder | setSummaryBytes (valeur com.google.protobuf.ByteString) One-line human-readable description of what the Op does. |
OpDef.Builder final | setUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields) |
Méthodes héritées
Méthodes publiques
public OpDef.Builder addAllAttr (Iterable<? étend OpDef.AttrDef > valeurs)
repeated .tensorflow.OpDef.AttrDef attr = 4;
public OpDef.Builder addAllControlOutput (valeurs 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<? étend OpDef.ArgDef > valeurs)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public OpDef.Builder addAllOutputArg (Iterable<? étend OpDef.ArgDef > valeurs)
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 (index int, OpDef.AttrDef.Builder builderForValue)
repeated .tensorflow.OpDef.AttrDef attr = 4;
public OpDef.Builder addAttr (index int, valeur OpDef.AttrDef )
repeated .tensorflow.OpDef.AttrDef attr = 4;
public OpDef.AttrDef.Builder addAttrBuilder (index int)
repeated .tensorflow.OpDef.AttrDef attr = 4;
public OpDef.Builder addControlOutput (valeur de chaîne)
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 (valeur 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 (index int, valeur OpDef.ArgDef )
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public OpDef.Builder addInputArg (valeur OpDef.ArgDef )
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public OpDef.Builder addInputArg (index 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 (index int)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public OpDef.Builder addOutputArg (index 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 (index int, valeur OpDef.ArgDef )
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public OpDef.Builder addOutputArg (valeur OpDef.ArgDef )
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public OpDef.ArgDef.Builder addOutputArgBuilder (index 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 (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)
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;
public 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;
public 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 clearIsCommutative ()
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;
public 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 clearSummary ()
One-line human-readable description of what the Op does.
string summary = 5;
public booléen 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 (index int)
repeated .tensorflow.OpDef.AttrDef attr = 4;
Liste publique < OpDef.AttrDef.Builder > getAttrBuilderList ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
public int getAttrCount ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
public OpDef.AttrDefOrBuilder getAttrOrBuilder (index int)
repeated .tensorflow.OpDef.AttrDef attr = 4;
Liste publique <? étend OpDef.AttrDefOrBuilder > getAttrOrBuilderList ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
chaîne publique getControlOutput (index 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 (index 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 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;
chaîne publique 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 statique final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public OpDef.ArgDef getInputArg (index int)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public OpDef.ArgDef.Builder getInputArgBuilder (index int)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
Liste publique < OpDef.ArgDef.Builder > getInputArgBuilderList ()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public int getInputArgCount ()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
Liste publique < OpDef.ArgDef > getInputArgList ()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public OpDef.ArgDefOrBuilder getInputArgOrBuilder (index int)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
Liste publique <? étend OpDef.ArgDefOrBuilder > getInputArgOrBuilderList ()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public booléen 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;
public booléen getIsCommutative ()
True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs)
bool is_commutative = 18;
public booléen 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;
chaîne publique 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 (index int)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public OpDef.ArgDef.Builder getOutputArgBuilder (index int)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
Liste publique < OpDef.ArgDef.Builder > getOutputArgBuilderList ()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public int getOutputArgCount ()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
Liste publique < OpDef.ArgDef > getOutputArgList ()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public OpDef.ArgDefOrBuilder getOutputArgOrBuilder (index int)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
Liste publique <? étend OpDef.ArgDefOrBuilder > getOutputArgOrBuilderList ()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
chaîne publique 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;
public booléen hasDeprecation ()
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
public final booléen isInitialized ()
public OpDef.Builder mergeDeprecation (valeur OpDeprecation )
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
public OpDef.Builder mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public OpDef.Builder removeInputArg (index int)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public OpDef.Builder removeOutputArg (index int)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public OpDef.Builder setAllowsUninitializedInput (valeur booléenne)
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 (index int, valeur OpDef.AttrDef )
repeated .tensorflow.OpDef.AttrDef attr = 4;
public OpDef.Builder setAttr (index int, OpDef.AttrDef.Builder builderForValue)
repeated .tensorflow.OpDef.AttrDef attr = 4;
public OpDef.Builder setControlOutput (index int, valeur de chaîne)
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 (valeur OpDeprecation )
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
public OpDef.Builder setDescription (valeur de chaîne)
Additional, longer human-readable description of what the Op does.
string description = 6;
public OpDef.Builder setDescriptionBytes (valeur com.google.protobuf.ByteString)
Additional, longer human-readable description of what the Op does.
string description = 6;
public OpDef.Builder setField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)
public OpDef.Builder setInputArg (index int, valeur OpDef.ArgDef )
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public OpDef.Builder setInputArg (index int, OpDef.ArgDef.Builder builderForValue)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public OpDef.Builder setIsAggregate (valeur booléenne)
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 (valeur booléenne)
True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs)
bool is_commutative = 18;
public OpDef.Builder setIsStateful (valeur booléenne)
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 (valeur de chaîne)
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 (valeur 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 (index int, valeur OpDef.ArgDef )
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public OpDef.Builder setOutputArg (index int, OpDef.ArgDef.Builder builderForValue)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public OpDef.Builder setRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, index int, valeur de l'objet)
public OpDef.Builder setSummary (valeur de chaîne)
One-line human-readable description of what the Op does.
string summary = 5;
public OpDef.Builder setSummaryBytes (valeur com.google.protobuf.ByteString)
One-line human-readable description of what the Op does.
string summary = 5;