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 tipo
tensorflow.OpDef
Métodos públicos
OpDef.Constructor | addAllAttr (Iterable<? extiende los valores de OpDef.AttrDef >) repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.Constructor | addAllControlOutput (valores Iterable<String>) Named control outputs for this operation. |
OpDef.Constructor | |
OpDef.Constructor | |
OpDef.Constructor | |
OpDef.Constructor | addAttr (índice int, OpDef.AttrDef.Builder builderForValue) repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.Constructor | |
OpDef.Constructor | |
OpDef.AttrDef.Builder | agregarAttrBuilder () repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.AttrDef.Builder | addAttrBuilder (índice int) repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.Constructor | addControlOutput (valor de cadena) Named control outputs for this operation. |
OpDef.Constructor | addControlOutputBytes (valor com.google.protobuf.ByteString) Named control outputs for this operation. |
OpDef.Constructor | |
OpDef.Constructor | |
OpDef.Constructor | |
OpDef.Constructor | |
OpDef.ArgDef.Constructor | agregarInputArgBuilder () Description of the input(s). |
OpDef.ArgDef.Constructor | addInputArgBuilder (índice int) Description of the input(s). |
OpDef.Constructor | |
OpDef.Constructor | |
OpDef.Constructor | |
OpDef.Constructor | |
OpDef.ArgDef.Constructor | addOutputArgBuilder (índice int) Description of the output(s). |
OpDef.ArgDef.Constructor | agregarOutputArgBuilder () Description of the output(s). |
OpDef.Constructor | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
OpDef | construir () |
OpDef | |
OpDef.Constructor | claro () |
OpDef.Constructor | clearAllowsUninitializedInput () By default, all inputs to an Op must be initialized Tensors. |
OpDef.Constructor | borrarAttr () repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.Constructor | borrarControlSalida () Named control outputs for this operation. |
OpDef.Constructor | borrar desaprobación () Optional deprecation based on GraphDef versions. |
OpDef.Constructor | borrarDescripción () Additional, longer human-readable description of what the Op does. |
OpDef.Constructor | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
OpDef.Constructor | borrarInputArg () Description of the input(s). |
OpDef.Constructor | clearIsAggregate () If is_aggregate is true, then this operation accepts N >= 2 inputs and produces 1 output all of the same type. |
OpDef.Constructor | clearIsCommutative () True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs) bool is_commutative = 18; |
OpDef.Constructor | clearIsStateful () Ops are marked as stateful if their behavior depends on some state beyond their input tensors (e.g. |
OpDef.Constructor | borrar nombre () Op names starting with an underscore are reserved for internal use. |
OpDef.Constructor | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor uno de) |
OpDef.Constructor | borrarArgSalida () Description of the output(s). |
OpDef.Constructor | borrarResumen () One-line human-readable description of what the Op does. |
OpDef.Constructor | clonar () |
booleano | getAllowsUninitializedInput () By default, all inputs to an Op must be initialized Tensors. |
OpDef.AttrDef | getAttr (índice int) repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.AttrDef.Builder | getAttrBuilder (índice int) repeated .tensorflow.OpDef.AttrDef attr = 4; |
Lista< OpDef.AttrDef.Builder > | getAttrBuilderList () repeated .tensorflow.OpDef.AttrDef attr = 4; |
entero | getAttrCount () repeated .tensorflow.OpDef.AttrDef attr = 4; |
Lista< OpDef.AttrDef > | obtenerListaDeAtributos () repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.AttrDefOrBuilder | getAttrOrBuilder (índice int) repeated .tensorflow.OpDef.AttrDef attr = 4; |
Lista<? extiende OpDef.AttrDefOrBuilder > | getAttrOrBuilderList () repeated .tensorflow.OpDef.AttrDef attr = 4; |
Cadena | getControlOutput (índice int) Named control outputs for this operation. |
com.google.protobuf.ByteString | getControlOutputBytes (índice int) Named control outputs for this operation. |
entero | getControlOutputCount () Named control outputs for this operation. |
com.google.protobuf.ProtocolStringList | getControlOutputList () Named control outputs for this operation. |
OpDef | |
OpDeprecación | getDeprecation () Optional deprecation based on GraphDef versions. |
OpDeprecation.Builder | getDeprecationBuilder () Optional deprecation based on GraphDef versions. |
OpDeprecationOrBuilder | getDeprecationOrBuilder () Optional deprecation based on GraphDef versions. |
Cadena | obtener descripción () Additional, longer human-readable description of what the Op does. |
com.google.protobuf.ByteString | obtenerDescripciónBytes () Additional, longer human-readable description of what the Op does. |
com.google.protobuf.Descriptors.Descriptor estático final | |
com.google.protobuf.Descriptors.Descriptor | |
OpDef.ArgDef | getInputArg (índice int) Description of the input(s). |
OpDef.ArgDef.Constructor | getInputArgBuilder (índice int) Description of the input(s). |
Lista< OpDef.ArgDef.Builder > | getInputArgBuilderList () Description of the input(s). |
entero | obtenerInputArgCount () Description of the input(s). |
Lista< OpDef.ArgDef > | obtenerInputArgList () Description of the input(s). |
OpDef.ArgDefOrBuilder | getInputArgOrBuilder (índice int) Description of the input(s). |
Lista<? extiende 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. |
Cadena | obtenerNombre () Op names starting with an underscore are reserved for internal use. |
com.google.protobuf.ByteString | getNombreBytes () Op names starting with an underscore are reserved for internal use. |
OpDef.ArgDef | getOutputArg (índice int) Description of the output(s). |
OpDef.ArgDef.Constructor | getOutputArgBuilder (índice int) Description of the output(s). |
Lista< OpDef.ArgDef.Builder > | getOutputArgBuilderList () Description of the output(s). |
entero | getOutputArgCount () Description of the output(s). |
Lista< OpDef.ArgDef > | getOutputArgList () Description of the output(s). |
OpDef.ArgDefOrBuilder | getOutputArgOrBuilder (índice int) Description of the output(s). |
Lista<? extiende OpDef.ArgDefOrBuilder > | getOutputArgOrBuilderList () Description of the output(s). |
Cadena | obtenerResumen () 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 | tieneDeprecation () Optional deprecation based on GraphDef versions. |
booleano final | |
OpDef.Constructor | |
OpDef.Constructor | mergeFrom (com.google.protobuf.Message otro) |
OpDef.Constructor | mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry) |
OpDef.Builder final | mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields) |
OpDef.Constructor | removeAttr (índice int) repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.Constructor | removeInputArg (índice int) Description of the input(s). |
OpDef.Constructor | eliminarOutputArg (índice int) Description of the output(s). |
OpDef.Constructor | setAllowsUninitializedInput (valor booleano) By default, all inputs to an Op must be initialized Tensors. |
OpDef.Constructor | |
OpDef.Constructor | setAttr (índice int, OpDef.AttrDef.Builder builderForValue) repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.Constructor | setControlOutput (índice int, valor de cadena) Named control outputs for this operation. |
OpDef.Constructor | setDeprecation ( OpDeprecation.Builder builderForValue) Optional deprecation based on GraphDef versions. |
OpDef.Constructor | |
OpDef.Constructor | setDescription (valor de cadena) Additional, longer human-readable description of what the Op does. |
OpDef.Constructor | setDescriptionBytes (valor com.google.protobuf.ByteString) Additional, longer human-readable description of what the Op does. |
OpDef.Constructor | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
OpDef.Constructor | |
OpDef.Constructor | |
OpDef.Constructor | setIsAggregate (valor booleano) If is_aggregate is true, then this operation accepts N >= 2 inputs and produces 1 output all of the same type. |
OpDef.Constructor | setIsCommutative (valor booleano) True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs) bool is_commutative = 18; |
OpDef.Constructor | setIsStateful (valor booleano) Ops are marked as stateful if their behavior depends on some state beyond their input tensors (e.g. |
OpDef.Constructor | setName (valor de cadena) Op names starting with an underscore are reserved for internal use. |
OpDef.Constructor | setNameBytes (valor com.google.protobuf.ByteString) Op names starting with an underscore are reserved for internal use. |
OpDef.Constructor | |
OpDef.Constructor | |
OpDef.Constructor | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto) |
OpDef.Constructor | setSummary (valor de cadena) One-line human-readable description of what the Op does. |
OpDef.Constructor | setSummaryBytes (valor com.google.protobuf.ByteString) One-line human-readable description of what the Op does. |
OpDef.Builder final | setUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields) |
Métodos heredados
Métodos públicos
public OpDef.Builder addAllAttr (Iterable<? extiende los valores de OpDef.AttrDef >)
repeated .tensorflow.OpDef.AttrDef attr = 4;
public OpDef.Builder addAllControlOutput (valores 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<? extiende los valores de OpDef.ArgDef >)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public OpDef.Builder addAllOutputArg (Iterable<? extiende los valores de OpDef.ArgDef >)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
público OpDef.Builder addAttr ( OpDef.AttrDef.Builder builderForValue)
repeated .tensorflow.OpDef.AttrDef attr = 4;
público OpDef.Builder addAttr (índice int, OpDef.AttrDef.Builder builderForValue)
repeated .tensorflow.OpDef.AttrDef attr = 4;
público OpDef.Builder addAttr (índice int, valor OpDef.AttrDef )
repeated .tensorflow.OpDef.AttrDef attr = 4;
público OpDef.AttrDef.Builder addAttrBuilder (índice int)
repeated .tensorflow.OpDef.AttrDef attr = 4;
público OpDef.Builder addControlOutput (valor de cadena)
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;
público OpDef.Builder addControlOutputBytes (valor 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;
público OpDef.Builder addInputArg ( OpDef.ArgDef.Builder builderForValue)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
público OpDef.Builder addInputArg (índice int, valor OpDef.ArgDef )
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
público OpDef.Builder addInputArg (valor OpDef.ArgDef )
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
público OpDef.Builder addInputArg (índice int, OpDef.ArgDef.Builder builderForValue)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
público OpDef.ArgDef.Builder addInputArgBuilder ()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
público OpDef.ArgDef.Builder addInputArgBuilder (índice int)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
público OpDef.Builder addOutputArg (índice int, OpDef.ArgDef.Builder builderForValue)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
público OpDef.Builder addOutputArg ( OpDef.ArgDef.Builder builderForValue)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
público OpDef.Builder addOutputArg (índice int, valor OpDef.ArgDef )
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
público OpDef.Builder addOutputArg (valor OpDef.ArgDef )
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
público OpDef.ArgDef.Builder addOutputArgBuilder (índice int)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
público OpDef.ArgDef.Builder addOutputArgBuilder ()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
público OpDef.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
público 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;
público 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;
pública OpDef.Builder clearDescription ()
Additional, longer human-readable description of what the Op does.
string description = 6;
público OpDef.Builder clearInputArg ()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
público 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;
público 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;
público 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;
público 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;
getAllowsUninitializedInput booleano público ()
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;
público OpDef.AttrDef.Builder getAttrBuilder (índice int)
repeated .tensorflow.OpDef.AttrDef attr = 4;
Lista pública< OpDef.AttrDef.Builder > getAttrBuilderList ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
público int getAttrCount ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
público OpDef.AttrDefOrBuilder getAttrOrBuilder (índice int)
repeated .tensorflow.OpDef.AttrDef attr = 4;
Lista pública<? extiende OpDef.AttrDefOrBuilder > getAttrOrBuilderList ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
cadena pública getControlOutput (índice 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;
público com.google.protobuf.ByteString getControlOutputBytes (índice 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;
público 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;
público 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;
público OpDeprecation.Builder getDeprecationBuilder ()
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
público OpDeprecationOrBuilder getDeprecationOrBuilder ()
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
cadena pública getDescription ()
Additional, longer human-readable description of what the Op does.
string description = 6;
público com.google.protobuf.ByteString getDescriptionBytes ()
Additional, longer human-readable description of what the Op does.
string description = 6;
público estático final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
público com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
público OpDef.ArgDef getInputArg (índice int)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
público OpDef.ArgDef.Builder getInputArgBuilder (índice int)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
Lista pública< OpDef.ArgDef.Builder > getInputArgBuilderList ()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
público int getInputArgCount ()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
Lista pública< OpDef.ArgDef > getInputArgList ()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
público OpDef.ArgDefOrBuilder getInputArgOrBuilder (índice int)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
Lista pública<? extiende OpDef.ArgDefOrBuilder > getInputArgOrBuilderList ()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
getIsAggregate booleano público ()
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;
getIsCommutative booleano público ()
True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs)
bool is_commutative = 18;
getIsStateful público 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;
cadena pública 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;
público 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;
público OpDef.ArgDef getOutputArg (índice int)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
público OpDef.ArgDef.Builder getOutputArgBuilder (índice int)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
Lista pública< OpDef.ArgDef.Builder > getOutputArgBuilderList ()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
público int getOutputArgCount ()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
Lista pública< OpDef.ArgDef > getOutputArgList ()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
público OpDef.ArgDefOrBuilder getOutputArgOrBuilder (índice int)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
Lista pública<? extiende OpDef.ArgDefOrBuilder > getOutputArgOrBuilderList ()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
cadena pública getSummary ()
One-line human-readable description of what the Op does.
string summary = 5;
público com.google.protobuf.ByteString getSummaryBytes ()
One-line human-readable description of what the Op does.
string summary = 5;
hasDeprecation público booleano ()
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
público final booleano isInitialized ()
public OpDef.Builder mergeDeprecation (valor de OpDeprecation )
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
OpDef.Builder público mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry)
Lanza
IOExcepción |
---|
OpDef.Builder final público mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields)
público OpDef.Builder removeInputArg (índice int)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
público OpDef.Builder removeOutputArg (índice int)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
público OpDef.Builder setAllowsUninitializedInput (valor 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;
público OpDef.Builder setAttr (índice int, valor OpDef.AttrDef )
repeated .tensorflow.OpDef.AttrDef attr = 4;
público OpDef.Builder setAttr (índice int, OpDef.AttrDef.Builder builderForValue)
repeated .tensorflow.OpDef.AttrDef attr = 4;
público OpDef.Builder setControlOutput (índice int, valor de cadena)
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;
público OpDef.Builder setDeprecation ( OpDeprecation.Builder builderForValue)
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
público OpDef.Builder setDeprecation (valor de OpDeprecation )
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
public OpDef.Builder setDescription (valor de cadena)
Additional, longer human-readable description of what the Op does.
string description = 6;
público OpDef.Builder setDescriptionBytes (valor com.google.protobuf.ByteString)
Additional, longer human-readable description of what the Op does.
string description = 6;
público OpDef.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
público OpDef.Builder setInputArg (índice int, valor OpDef.ArgDef )
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
público OpDef.Builder setInputArg (índice int, OpDef.ArgDef.Builder builderForValue)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
público OpDef.Builder setIsAggregate (valor 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;
público OpDef.Builder setIsCommutative (valor booleano)
True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs)
bool is_commutative = 18;
público OpDef.Builder setIsStateful (valor 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;
público OpDef.Builder setName (valor de cadena)
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;
público OpDef.Builder setNameBytes (valor 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;
público OpDef.Builder setOutputArg (índice int, valor OpDef.ArgDef )
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
público OpDef.Builder setOutputArg (índice int, OpDef.ArgDef.Builder builderForValue)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
público OpDef.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto)
público OpDef.Builder setSummary (valor de cadena)
One-line human-readable description of what the Op does.
string summary = 5;
público OpDef.Builder setSummaryBytes (valor com.google.protobuf.ByteString)
One-line human-readable description of what the Op does.
string summary = 5;