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
Metodi pubblici
OpDef.Builder | addAllAttr (Iterable<? estende i valori OpDef.AttrDef >) repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.Builder | addAllControlOutput (valori Iterable<String>) Named control outputs for this operation. |
OpDef.Builder | |
OpDef.Builder | |
OpDef.Builder | |
OpDef.Builder | addAttr (indice 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 (indice int) repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.Builder | addControlOutput (valore stringa) Named control outputs for this operation. |
OpDef.Builder | addControlOutputBytes (valore 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 (indice int) Description of the input(s). |
OpDef.Builder | |
OpDef.Builder | |
OpDef.Builder | |
OpDef.Builder | |
OpDef.ArgDef.Builder | addOutputArgBuilder (indice int) Description of the output(s). |
OpDef.ArgDef.Builder | addOutputArgBuilder () Description of the output(s). |
OpDef.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto) |
OpDef | costruire () |
OpDef | buildPartial () |
OpDef.Builder | chiaro () |
OpDef.Builder | clearAllowsUninitializedInput () By default, all inputs to an Op must be initialized Tensors. |
OpDef.Builder | clearAttr () repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.Builder | clearControlOutput () Named control outputs for this operation. |
OpDef.Builder | clearDeprecation () Optional deprecation based on GraphDef versions. |
OpDef.Builder | clearDescrizione () Additional, longer human-readable description of what the Op does. |
OpDef.Builder | clearField (campo 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 | nomechiaro () 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 | cancellaRiepilogo () One-line human-readable description of what the Op does. |
OpDef.Builder | clone () |
booleano | getAllowsUninitializedInput () By default, all inputs to an Op must be initialized Tensors. |
OpDef.AttrDef | getAttr (indice int) repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.AttrDef.Builder | getAttrBuilder (indice int) repeated .tensorflow.OpDef.AttrDef attr = 4; |
Elenco< OpDef.AttrDef.Builder > | getAttrBuilderList () repeated .tensorflow.OpDef.AttrDef attr = 4; |
int | getAttrCount () repeated .tensorflow.OpDef.AttrDef attr = 4; |
Elenco< OpDef.AttrDef > | getAttrList () repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.AttrDefOrBuilder | getAttrOrBuilder (indice int) repeated .tensorflow.OpDef.AttrDef attr = 4; |
Elenco<? estende OpDef.AttrDefOrBuilder > | getAttrOrBuilderList () repeated .tensorflow.OpDef.AttrDef attr = 4; |
Corda | getControlOutput (indice int) Named control outputs for this operation. |
com.google.protobuf.ByteString | getControlOutputBytes (indice 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 | |
OpDeprecation | getDeprecation () Optional deprecation based on GraphDef versions. |
OpDeprecation.Builder | getDeprecationBuilder () Optional deprecation based on GraphDef versions. |
OpDeprecationOrBuilder | getDeprecationOrBuilder () Optional deprecation based on GraphDef versions. |
Corda | getDescrizione () Additional, longer human-readable description of what the Op does. |
com.google.protobuf.ByteString | getDescrizioneBytes () Additional, longer human-readable description of what the Op does. |
com.google.protobuf.Descriptors.Descriptor statico finale | |
com.google.protobuf.Descriptors.Descriptor | |
OpDef.ArgDef | getInputArg (indice int) Description of the input(s). |
OpDef.ArgDef.Builder | getInputArgBuilder (indice int) Description of the input(s). |
Elenco< OpDef.ArgDef.Builder > | getInputArgBuilderList () Description of the input(s). |
int | getInputArgCount () Description of the input(s). |
Elenco< OpDef.ArgDef > | getInputArgList () Description of the input(s). |
OpDef.ArgDefOrBuilder | getInputArgOrBuilder (indice int) Description of the input(s). |
Elenco<? estende OpDef.ArgDefOrBuilder > | getInputArgOrBuilderList () Description of the input(s). |
booleano | getIsAggregate () If is_aggregate is true, then this operation accepts N >= 2 inputs and produces 1 output all of the same type. |
booleano | getIsCommutative () True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs) bool is_commutative = 18; |
booleano | getIsStateful () Ops are marked as stateful if their behavior depends on some state beyond their input tensors (e.g. |
Corda | getNome () Op names starting with an underscore are reserved for internal use. |
com.google.protobuf.ByteString | getNomeBytes () Op names starting with an underscore are reserved for internal use. |
OpDef.ArgDef | getOutputArg (indice int) Description of the output(s). |
OpDef.ArgDef.Builder | getOutputArgBuilder (indice int) Description of the output(s). |
Elenco< OpDef.ArgDef.Builder > | getOutputArgBuilderList () Description of the output(s). |
int | getOutputArgCount () Description of the output(s). |
Elenco< OpDef.ArgDef > | getOutputArgList () Description of the output(s). |
OpDef.ArgDefOrBuilder | getOutputArgOrBuilder (indice int) Description of the output(s). |
Elenco<? estende OpDef.ArgDefOrBuilder > | getOutputArgOrBuilderList () Description of the output(s). |
Corda | getRiepilogo () 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. |
booleano | hasDeprecation () Optional deprecation based on GraphDef versions. |
booleano finale | |
OpDef.Builder | |
OpDef.Builder | mergeFrom (com.google.protobuf.Message altro) |
OpDef.Builder | mergeFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry) |
OpDef.Builder finale | mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
OpDef.Builder | rimuoviAttr (indice int) repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.Builder | rimuoviInputArg (indice int) Description of the input(s). |
OpDef.Builder | rimuoviOutputArg (indice int) Description of the output(s). |
OpDef.Builder | setAllowsUninitializedInput (valore booleano) By default, all inputs to an Op must be initialized Tensors. |
OpDef.Builder | |
OpDef.Builder | setAttr (indice int, OpDef.AttrDef.Builder builderForValue) repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.Builder | setControlOutput (indice int, valore stringa) Named control outputs for this operation. |
OpDef.Builder | setDeprecation ( OpDeprecation.Builder builderForValue) Optional deprecation based on GraphDef versions. |
OpDef.Builder | |
OpDef.Builder | setDescription (valore stringa) Additional, longer human-readable description of what the Op does. |
OpDef.Builder | setDescriptionBytes (valore com.google.protobuf.ByteString) Additional, longer human-readable description of what the Op does. |
OpDef.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto) |
OpDef.Builder | |
OpDef.Builder | |
OpDef.Builder | setIsAggregate (valore booleano) If is_aggregate is true, then this operation accepts N >= 2 inputs and produces 1 output all of the same type. |
OpDef.Builder | setIsCommutative (valore booleano) True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs) bool is_commutative = 18; |
OpDef.Builder | setIsStateful (valore booleano) Ops are marked as stateful if their behavior depends on some state beyond their input tensors (e.g. |
OpDef.Builder | setName (valore stringa) Op names starting with an underscore are reserved for internal use. |
OpDef.Builder | setNameBytes (valore com.google.protobuf.ByteString) Op names starting with an underscore are reserved for internal use. |
OpDef.Builder | |
OpDef.Builder | |
OpDef.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, indice int, valore oggetto) |
OpDef.Builder | setSummary (valore stringa) One-line human-readable description of what the Op does. |
OpDef.Builder | setSummaryBytes (valore com.google.protobuf.ByteString) One-line human-readable description of what the Op does. |
OpDef.Builder finale | setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
Metodi ereditati
Metodi pubblici
public OpDef.Builder addAllAttr (Iterable<? estende OpDef.AttrDef > valori)
repeated .tensorflow.OpDef.AttrDef attr = 4;
public OpDef.Builder addAllControlOutput (valori 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<? estende i valori OpDef.ArgDef >)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public OpDef.Builder addAllOutputArg (Iterable<? estende i valori 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 (indice int, OpDef.AttrDef.Builder builderForValue)
repeated .tensorflow.OpDef.AttrDef attr = 4;
public OpDef.Builder addAttr (indice int, valore OpDef.AttrDef )
repeated .tensorflow.OpDef.AttrDef attr = 4;
public OpDef.AttrDef.Builder addAttrBuilder (indice int)
repeated .tensorflow.OpDef.AttrDef attr = 4;
public OpDef.Builder addControlOutput (valore stringa)
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 (valore 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 (indice int, valore OpDef.ArgDef )
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public OpDef.Builder addInputArg (valore OpDef.ArgDef )
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public OpDef.Builder addInputArg (indice 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 (indice int)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public OpDef.Builder addOutputArg (indice 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 (indice int, valore OpDef.ArgDef )
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public OpDef.Builder addOutputArg (valore OpDef.ArgDef )
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public OpDef.ArgDef.Builder addOutputArgBuilder (indice 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 (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)
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;
pubblico 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;
pubblico booleano 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 (indice int)
repeated .tensorflow.OpDef.AttrDef attr = 4;
Elenco pubblico< OpDef.AttrDef.Builder > getAttrBuilderList ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
public int getAttrCount ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
public OpDef.AttrDefOrBuilder getAttrOrBuilder (indice int)
repeated .tensorflow.OpDef.AttrDef attr = 4;
Elenco pubblico<? estende OpDef.AttrDefOrBuilder > getAttrOrBuilderList ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
public String getControlOutput (indice 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;
pubblico com.google.protobuf.ByteString getControlOutputBytes (indice 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;
pubblico 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;
pubblico 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;
stringa pubblica getDescription ()
Additional, longer human-readable description of what the Op does.
string description = 6;
pubblico 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 ()
pubblico com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public OpDef.ArgDef getInputArg (indice int)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public OpDef.ArgDef.Builder getInputArgBuilder (indice int)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
Elenco pubblico< 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;
Elenco pubblico< OpDef.ArgDef > getInputArgList ()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public OpDef.ArgDefOrBuilder getInputArgOrBuilder (indice int)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
Elenco pubblico<? estende OpDef.ArgDefOrBuilder > getInputArgOrBuilderList ()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
pubblico booleano 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;
pubblico booleano getIsCommutative ()
True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs)
bool is_commutative = 18;
pubblico booleano 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;
stringa pubblica 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;
pubblico 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 (indice int)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public OpDef.ArgDef.Builder getOutputArgBuilder (indice int)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
Elenco pubblico< 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;
Elenco pubblico< OpDef.ArgDef > getOutputArgList ()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public OpDef.ArgDefOrBuilder getOutputArgOrBuilder (indice int)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
Elenco pubblico<? estende 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;
pubblico com.google.protobuf.ByteString getSummaryBytes ()
One-line human-readable description of what the Op does.
string summary = 5;
booleano pubblico hasDeprecation ()
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
public final booleano isInitialized ()
public OpDef.Builder mergeDeprecation (valore OpDeprecation )
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
public OpDef.Builder mergeFrom (input com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
public OpDef.Builder rimuoviInputArg (indice int)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public OpDef.Builder rimuoviOutputArg (indice int)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public OpDef.Builder setAllowsUninitializedInput (valore booleano)
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 (indice int, valore OpDef.AttrDef )
repeated .tensorflow.OpDef.AttrDef attr = 4;
public OpDef.Builder setAttr (indice int, OpDef.AttrDef.Builder builderForValue)
repeated .tensorflow.OpDef.AttrDef attr = 4;
public OpDef.Builder setControlOutput (indice int, valore stringa)
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 (valore OpDeprecation )
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
public OpDef.Builder setDescription (valore stringa)
Additional, longer human-readable description of what the Op does.
string description = 6;
OpDef.Builder pubblico setDescriptionBytes (valore com.google.protobuf.ByteString)
Additional, longer human-readable description of what the Op does.
string description = 6;
public OpDef.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)
public OpDef.Builder setInputArg (indice int, valore OpDef.ArgDef )
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public OpDef.Builder setInputArg (indice int, OpDef.ArgDef.Builder builderForValue)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public OpDef.Builder setIsAggregate (valore booleano)
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 (valore booleano)
True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs)
bool is_commutative = 18;
public OpDef.Builder setIsStateful (valore booleano)
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 (valore stringa)
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;
pubblico OpDef.Builder setNameBytes (valore 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 (indice int, valore OpDef.ArgDef )
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public OpDef.Builder setOutputArg (indice int, OpDef.ArgDef.Builder builderForValue)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public OpDef.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, indice int, valore oggetto)
public OpDef.Builder setSummary (valore stringa)
One-line human-readable description of what the Op does.
string summary = 5;
pubblico OpDef.Builder setSummaryBytes (valore com.google.protobuf.ByteString)
One-line human-readable description of what the Op does.
string summary = 5;