A function can be instantiated when the runtime can bind every attr with a value. When a GraphDef has a call to a function, it must have binding for every attr defined in the signature. TODO(zhifengc): * device spec, etc.Tensorflow de tipo
tensorflow.FunctionDef
Métodos públicos
FunctionDef.Builder | addAllNodeDef (Iterable <? extiende valores de NodeDef >) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | addNodeDef (valor de NodeDef ) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | addNodeDef ( NodeDef.Builder builderForValue) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | addNodeDef (índice int, NodeDef.Builder builderForValue) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | addNodeDef (índice int, valor de NodeDef ) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
NodeDef.Builder | addNodeDefBuilder () By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
NodeDef.Builder | addNodeDefBuilder (índice int) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
FunctionDef | construir () |
FunctionDef | buildPartial () |
FunctionDef.Builder | claro () |
FunctionDef.Builder | clearArgAttr () |
FunctionDef.Builder | clearAttr () |
FunctionDef.Builder | |
FunctionDef.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
FunctionDef.Builder | clearNodeDef () By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
FunctionDef.Builder | |
FunctionDef.Builder | clearRet () |
FunctionDef.Builder | clearSignature () The definition of the function's name, arguments, return values, attrs etc. |
FunctionDef.Builder | clonar () |
booleano | containsArgAttr (clave int) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
booleano | containsAttr (clave de cadena) Attributes specific to this function definition. |
booleano | containsControlRet (clave de cadena) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
booleano | containsResourceArgUniqueId (clave int) Unique IDs for each resource argument, used to track aliasing resources. |
booleano | contieneRet (clave de cadena) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
Map <Entero, FunctionDef.ArgAttrs > | getArgAttr () Utilice getArgAttrMap() lugar. |
En t | getArgAttrCount () map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
Map <Entero, FunctionDef.ArgAttrs > | getArgAttrMap () map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
FunctionDef.ArgAttrs | getArgAttrOrDefault (tecla int, FunctionDef.ArgAttrs defaultValue) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
FunctionDef.ArgAttrs | getArgAttrOrThrow (clave int) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
Mapa <String, AttrValue > | getAttr () Utilice getAttrMap() lugar. |
En t | getAttrCount () Attributes specific to this function definition. |
Mapa <String, AttrValue > | getAttrMap () Attributes specific to this function definition. |
AttrValue | getAttrOrDefault (clave de cadena, AttrValue defaultValue ) Attributes specific to this function definition. |
AttrValue | getAttrOrThrow (clave de cadena) Attributes specific to this function definition. |
Mapa <Cadena, Cadena> | getControlRet () Utilice getControlRetMap() lugar. |
En t | getControlRetCount () A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
Mapa <Cadena, Cadena> | getControlRetMap () A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
Cuerda | getControlRetOrDefault (clave de cadena, valor predeterminado de cadena) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
Cuerda | getControlRetOrThrow (clave de cadena) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
FunctionDef | |
com.google.protobuf.Descriptors.Descriptor estático final | |
com.google.protobuf.Descriptors.Descriptor | |
Map <Entero, FunctionDef.ArgAttrs > | getMutableArgAttr () En su lugar, utilice accesores de mutación alternativos. |
Mapa <String, AttrValue > | getMutableAttr () En su lugar, utilice accesores de mutación alternativos. |
Mapa <Cadena, Cadena> | getMutableControlRet () En su lugar, utilice accesores de mutación alternativos. |
Mapa <entero, entero> | getMutableResourceArgUniqueId () En su lugar, utilice accesores de mutación alternativos. |
Mapa <Cadena, Cadena> | getMutableRet () En su lugar, utilice accesores de mutación alternativos. |
NodeDef | getNodeDef (índice int) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
NodeDef.Builder | getNodeDefBuilder (índice int) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
Lista < NodeDef.Builder > | getNodeDefBuilderList () By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
En t | getNodeDefCount () By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
Lista < NodeDef > | getNodeDefList () By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
NodeDefOrBuilder | getNodeDefOrBuilder (índice int) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
Lista <? extiende NodeDefOrBuilder > | getNodeDefOrBuilderList () By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
Mapa <entero, entero> | getResourceArgUniqueId () Utilice getResourceArgUniqueIdMap() lugar. |
En t | getResourceArgUniqueIdCount () Unique IDs for each resource argument, used to track aliasing resources. |
Mapa <entero, entero> | getResourceArgUniqueIdMap () Unique IDs for each resource argument, used to track aliasing resources. |
En t | getResourceArgUniqueIdOrDefault (clave int, valor predeterminado int) Unique IDs for each resource argument, used to track aliasing resources. |
En t | getResourceArgUniqueIdOrThrow (clave int) Unique IDs for each resource argument, used to track aliasing resources. |
Mapa <Cadena, Cadena> | getRet () Utilice getRetMap() lugar. |
En t | getRetCount () A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
Mapa <Cadena, Cadena> | getRetMap () A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
Cuerda | getRetOrDefault (clave de cadena, valor predeterminado de cadena) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
Cuerda | getRetOrThrow (clave de cadena) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
OpDef | getSignature () The definition of the function's name, arguments, return values, attrs etc. |
OpDef.Builder | getSignatureBuilder () The definition of the function's name, arguments, return values, attrs etc. |
OpDefOrBuilder | getSignatureOrBuilder () The definition of the function's name, arguments, return values, attrs etc. |
booleano | hasSignature () The definition of the function's name, arguments, return values, attrs etc. |
booleano final | |
FunctionDef.Builder | mergeFrom (com.google.protobuf.Message otro) |
FunctionDef.Builder | mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
FunctionDef.Builder | mergeSignature (valor OpDef ) The definition of the function's name, arguments, return values, attrs etc. |
FunctionDef.Builder final | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
FunctionDef.Builder | putAllArgAttr (Map <Integer, FunctionDef.ArgAttrs > valores) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
FunctionDef.Builder | |
FunctionDef.Builder | putAllControlRet (Map <String, String> valores) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
FunctionDef.Builder | putAllResourceArgUniqueId (Map <Integer, Integer> valores) Unique IDs for each resource argument, used to track aliasing resources. |
FunctionDef.Builder | putAllRet ( valores de Map <String, String>) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
FunctionDef.Builder | putArgAttr (clave int, valor FunctionDef.ArgAttrs ) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
FunctionDef.Builder | |
FunctionDef.Builder | putControlRet (clave de cadena, valor de cadena) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
FunctionDef.Builder | putResourceArgUniqueId (clave int, valor int) Unique IDs for each resource argument, used to track aliasing resources. |
FunctionDef.Builder | putRet (clave de cadena, valor de cadena) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
FunctionDef.Builder | removeArgAttr (clave int) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
FunctionDef.Builder | removeAttr (clave de cadena) Attributes specific to this function definition. |
FunctionDef.Builder | removeControlRet (clave de cadena) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
FunctionDef.Builder | removeNodeDef (índice int) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | removeResourceArgUniqueId (clave int) Unique IDs for each resource argument, used to track aliasing resources. |
FunctionDef.Builder | removeRet (clave de cadena) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
FunctionDef.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
FunctionDef.Builder | setNodeDef (índice int, NodeDef.Builder builderForValue) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | setNodeDef (índice int, valor de NodeDef ) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto) |
FunctionDef.Builder | setSignature (valor OpDef ) The definition of the function's name, arguments, return values, attrs etc. |
FunctionDef.Builder | setSignature ( OpDef.Builder builderForValue) The definition of the function's name, arguments, return values, attrs etc. |
FunctionDef.Builder final | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
Métodos heredados
Métodos públicos
public FunctionDef.Builder addAllNodeDef (Iterable <? extiende valores de NodeDef >)
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
public FunctionDef.Builder addNodeDef (valor de NodeDef )
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
public FunctionDef.Builder addNodeDef ( NodeDef.Builder builderForValue)
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
public FunctionDef.Builder addNodeDef (int index, NodeDef.Builder builderForValue)
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
public FunctionDef.Builder addNodeDef (índice int, valor NodeDef )
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
public NodeDef.Builder addNodeDefBuilder ()
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
public NodeDef.Builder addNodeDefBuilder (índice int)
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
public FunctionDef.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
public FunctionDef.Builder clearNodeDef ()
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
public FunctionDef.Builder clearSignature ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
public boolean containsArgAttr (clave int)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public boolean containsAttr (clave de cadena)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
public boolean containsControlRet (clave de cadena)
A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.
map<string, string> control_ret = 6;
public boolean containsResourceArgUniqueId (clave int)
Unique IDs for each resource argument, used to track aliasing resources. If Argument A and Argument B alias each other, then resource_arg_unique_ids[A.index] == resource_arg_unique_ids[B.index]. If this field is empty, none of the arguments could alias; otherwise, every resource argument should have an entry in this field. When instantiated, the unique IDs will be attached to the _Arg nodes' "_resource_arg_unique_id" attribute.
map<uint32, uint32> resource_arg_unique_id = 8;
public boolean containsRet (clave de cadena)
A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.
map<string, string> ret = 4;
public int getArgAttrCount ()
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public Map <Integer, FunctionDef.ArgAttrs > getArgAttrMap ()
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public FunctionDef.ArgAttrs getArgAttrOrDefault (clave int, FunctionDef.ArgAttrs defaultValue)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public FunctionDef.ArgAttrs getArgAttrOrThrow (clave int)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public int getAttrCount ()
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
public Map <String, AttrValue > getAttrMap ()
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
public AttrValue getAttrOrDefault (clave de cadena, AttrValue defaultValue )
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
public AttrValue getAttrOrThrow (clave de cadena)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
public int getControlRetCount ()
A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.
map<string, string> control_ret = 6;
public Map <String, String> getControlRetMap ()
A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.
map<string, string> control_ret = 6;
public String getControlRetOrDefault (clave de cadena, valor predeterminado de cadena)
A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.
map<string, string> control_ret = 6;
public String getControlRetOrThrow (clave de cadena)
A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.
map<string, string> control_ret = 6;
público estático final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public Map <Integer, FunctionDef.ArgAttrs > getMutableArgAttr ()
En su lugar, utilice accesores de mutación alternativos.
public Map <String, AttrValue > getMutableAttr ()
En su lugar, utilice accesores de mutación alternativos.
public Map <String, String> getMutableControlRet ()
En su lugar, utilice accesores de mutación alternativos.
public Map <Integer, Integer> getMutableResourceArgUniqueId ()
En su lugar, utilice accesores de mutación alternativos.
public Map <String, String> getMutableRet ()
En su lugar, utilice accesores de mutación alternativos.
public NodeDef getNodeDef (índice int)
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
public NodeDef.Builder getNodeDefBuilder (índice int)
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
Lista pública < NodeDef.Builder > getNodeDefBuilderList ()
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
public int getNodeDefCount ()
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
Lista pública < NodeDef > getNodeDefList ()
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
public NodeDefOrBuilder getNodeDefOrBuilder (índice int)
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
lista pública <? extiende NodeDefOrBuilder > getNodeDefOrBuilderList ()
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
public int getResourceArgUniqueIdCount ()
Unique IDs for each resource argument, used to track aliasing resources. If Argument A and Argument B alias each other, then resource_arg_unique_ids[A.index] == resource_arg_unique_ids[B.index]. If this field is empty, none of the arguments could alias; otherwise, every resource argument should have an entry in this field. When instantiated, the unique IDs will be attached to the _Arg nodes' "_resource_arg_unique_id" attribute.
map<uint32, uint32> resource_arg_unique_id = 8;
public Map <Integer, Integer> getResourceArgUniqueIdMap ()
Unique IDs for each resource argument, used to track aliasing resources. If Argument A and Argument B alias each other, then resource_arg_unique_ids[A.index] == resource_arg_unique_ids[B.index]. If this field is empty, none of the arguments could alias; otherwise, every resource argument should have an entry in this field. When instantiated, the unique IDs will be attached to the _Arg nodes' "_resource_arg_unique_id" attribute.
map<uint32, uint32> resource_arg_unique_id = 8;
public int getResourceArgUniqueIdOrDefault (clave int, valor predeterminado int)
Unique IDs for each resource argument, used to track aliasing resources. If Argument A and Argument B alias each other, then resource_arg_unique_ids[A.index] == resource_arg_unique_ids[B.index]. If this field is empty, none of the arguments could alias; otherwise, every resource argument should have an entry in this field. When instantiated, the unique IDs will be attached to the _Arg nodes' "_resource_arg_unique_id" attribute.
map<uint32, uint32> resource_arg_unique_id = 8;
public int getResourceArgUniqueIdOrThrow (clave int)
Unique IDs for each resource argument, used to track aliasing resources. If Argument A and Argument B alias each other, then resource_arg_unique_ids[A.index] == resource_arg_unique_ids[B.index]. If this field is empty, none of the arguments could alias; otherwise, every resource argument should have an entry in this field. When instantiated, the unique IDs will be attached to the _Arg nodes' "_resource_arg_unique_id" attribute.
map<uint32, uint32> resource_arg_unique_id = 8;
public int getRetCount ()
A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.
map<string, string> ret = 4;
public Map <String, String> getRetMap ()
A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.
map<string, string> ret = 4;
public String getRetOrDefault (clave de cadena, valor predeterminado de cadena)
A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.
map<string, string> ret = 4;
public String getRetOrThrow (clave de cadena)
A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.
map<string, string> ret = 4;
public OpDef getSignature ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
public OpDef.Builder getSignatureBuilder ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
public OpDefOrBuilder getSignatureOrBuilder ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
public boolean hasSignature ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
public final boolean isInitialized ()
public FunctionDef.Builder mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
public FunctionDef.Builder mergeSignature (valor OpDef )
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
FunctionDef.Builder final público mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public FunctionDef.Builder putAllArgAttr (Map <Integer, FunctionDef.ArgAttrs > valores)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public FunctionDef.Builder putAllAttr ( valores de Map <String, AttrValue >)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
public FunctionDef.Builder putAllControlRet (Map <String, String> valores)
A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.
map<string, string> control_ret = 6;
public FunctionDef.Builder putAllResourceArgUniqueId (Map <Integer, Integer> valores)
Unique IDs for each resource argument, used to track aliasing resources. If Argument A and Argument B alias each other, then resource_arg_unique_ids[A.index] == resource_arg_unique_ids[B.index]. If this field is empty, none of the arguments could alias; otherwise, every resource argument should have an entry in this field. When instantiated, the unique IDs will be attached to the _Arg nodes' "_resource_arg_unique_id" attribute.
map<uint32, uint32> resource_arg_unique_id = 8;
public FunctionDef.Builder putAllRet (Map <String, String> valores)
A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.
map<string, string> ret = 4;
public FunctionDef.Builder putArgAttr (clave int, valor FunctionDef.ArgAttrs )
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public FunctionDef.Builder putAttr (clave de cadena, valor de AttrValue )
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
public FunctionDef.Builder putControlRet (clave de cadena, valor de cadena)
A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.
map<string, string> control_ret = 6;
public FunctionDef.Builder putResourceArgUniqueId (clave int, valor int)
Unique IDs for each resource argument, used to track aliasing resources. If Argument A and Argument B alias each other, then resource_arg_unique_ids[A.index] == resource_arg_unique_ids[B.index]. If this field is empty, none of the arguments could alias; otherwise, every resource argument should have an entry in this field. When instantiated, the unique IDs will be attached to the _Arg nodes' "_resource_arg_unique_id" attribute.
map<uint32, uint32> resource_arg_unique_id = 8;
public FunctionDef.Builder putRet (clave de cadena, valor de cadena)
A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.
map<string, string> ret = 4;
public FunctionDef.Builder removeArgAttr (clave int)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public FunctionDef.Builder removeAttr (clave de cadena)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
public FunctionDef.Builder removeControlRet (clave de cadena)
A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.
map<string, string> control_ret = 6;
public FunctionDef.Builder removeNodeDef (índice int)
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
public FunctionDef.Builder removeResourceArgUniqueId (clave int)
Unique IDs for each resource argument, used to track aliasing resources. If Argument A and Argument B alias each other, then resource_arg_unique_ids[A.index] == resource_arg_unique_ids[B.index]. If this field is empty, none of the arguments could alias; otherwise, every resource argument should have an entry in this field. When instantiated, the unique IDs will be attached to the _Arg nodes' "_resource_arg_unique_id" attribute.
map<uint32, uint32> resource_arg_unique_id = 8;
public FunctionDef.Builder removeRet (clave de cadena)
A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.
map<string, string> ret = 4;
public FunctionDef.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
public FunctionDef.Builder setNodeDef (int index, NodeDef.Builder builderForValue)
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
public FunctionDef.Builder setNodeDef (índice int, valor NodeDef )
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
public FunctionDef.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto)
public FunctionDef.Builder setSignature (valor OpDef )
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
public FunctionDef.Builder setSignature ( OpDef.Builder builderForValue)
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;