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.FunctionDef
Métodos públicos
FunciónDef.Builder | addAllNodeDef (Iterable<? extiende los valores de NodeDef >) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunciónDef.Builder | addNodeDef (valor NodeDef ) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunciónDef.Builder | addNodeDef ( NodeDef.Builder constructorForValue) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunciónDef.Builder | addNodeDef (índice int, NodeDef.Builder builderForValue) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunciónDef.Builder | addNodeDef (índice int, valor de NodeDef ) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
NodeDef.Constructor | agregarNodeDefBuilder () By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
NodeDef.Constructor | addNodeDefBuilder (índice int) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunciónDef.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
FunciónDef | construir () |
FunciónDef | |
FunciónDef.Builder | claro () |
FunciónDef.Builder | clearArgAttr () |
FunciónDef.Builder | borrarAttr () |
FunciónDef.Builder | |
FunciónDef.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
FunciónDef.Builder | borrarNodeDef () By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunciónDef.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor uno de) |
FunciónDef.Builder | |
FunciónDef.Builder | borrarRet () |
FunciónDef.Builder | borrarFirma () The definition of the function's name, arguments, return values, attrs etc. |
FunciónDef.Builder | clonar () |
booleano | contieneArgAttr (clave int) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
booleano | contieneAttr (clave de cadena) Attributes specific to this function definition. |
booleano | contieneControlRet (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 | contieneResourceArgUniqueId (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. |
Mapa<Entero, FunctionDef.ArgAttrs > | getArgAttr () Utilice getArgAttrMap() en su lugar. |
entero | getArgAttrCount () map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
Mapa<Entero, FunctionDef.ArgAttrs > | getArgAttrMap () map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
FunciónDef.ArgAttrs | getArgAttrOrDefault (tecla int, FunctionDef.ArgAttrs valor predeterminado) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
FunciónDef.ArgAttrs | getArgAttrOrThrow (tecla int) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
Mapa<Cadena, ValorAtributo > | obtenerAttr () Utilice getAttrMap() en su lugar. |
entero | getAttrCount () Attributes specific to this function definition. |
Mapa<Cadena, ValorAtributo > | getAttrMap () Attributes specific to this function definition. |
ValorAtributo | getAttrOrDefault (clave de cadena, AttrValue valor predeterminado) Attributes specific to this function definition. |
ValorAtributo | getAttrOrThrow (clave de cadena) Attributes specific to this function definition. |
Mapa<Cadena, Cadena> | obtenerControlRet () Utilice getControlRetMap() en su lugar. |
entero | 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. |
Cadena | 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. |
Cadena | getControlRetOrThrow (tecla de cadena) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
FunciónDef | |
com.google.protobuf.Descriptors.Descriptor estático final | |
com.google.protobuf.Descriptors.Descriptor | |
Mapa<Entero, FunctionDef.ArgAttrs > | getMutableArgAttr () Utilice descriptores de acceso de mutación alternativos en su lugar. |
Mapa<Cadena, ValorAtributo > | getMutableAttr () Utilice descriptores de acceso de mutación alternativos en su lugar. |
Mapa<Cadena, Cadena> | getMutableControlRet () Utilice descriptores de acceso de mutación alternativos en su lugar. |
Mapa<Entero, Entero> | getMutableResourceArgUniqueId () Utilice descriptores de acceso de mutación alternativos en su lugar. |
Mapa<Cadena, Cadena> | getMutableRet () Utilice descriptores de acceso de mutación alternativos en su lugar. |
NodoDef | getNodeDef (índice int) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
NodeDef.Constructor | 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. |
entero | 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. |
NodoDefOrBuilder | 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() en su lugar. |
entero | 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. |
entero | getResourceArgUniqueIdOrDefault (int clave, int defaultValue) Unique IDs for each resource argument, used to track aliasing resources. |
entero | getResourceArgUniqueIdOrThrow (clave int) Unique IDs for each resource argument, used to track aliasing resources. |
Mapa<Cadena, Cadena> | obtenerRet () Utilice getRetMap() en su lugar. |
entero | obtenerRetCount () 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> | obtenerRetMap () A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
Cadena | 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. |
Cadena | 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 | obtener firma () The definition of the function's name, arguments, return values, attrs etc. |
OpDef.Constructor | obtenerSignatureBuilder () 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 | tiene firma () The definition of the function's name, arguments, return values, attrs etc. |
booleano final | |
FunciónDef.Builder | mergeFrom (com.google.protobuf.Message otro) |
FunciónDef.Builder | mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry) |
FunciónDef.Builder | mergeSignature (valor OpDef ) The definition of the function's name, arguments, return values, attrs etc. |
FunctionDef.Builder final | mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields) |
FunciónDef.Builder | putAllArgAttr (Mapa<Integer, FunctionDef.ArgAttrs > valores) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
FunciónDef.Builder | |
FunciónDef.Builder | putAllControlRet (valores de mapa<cadena, cadena>) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
FunciónDef.Builder | putAllResourceArgUniqueId (Mapa<Integer, Integer> valores) Unique IDs for each resource argument, used to track aliasing resources. |
FunciónDef.Builder | putAllRet (valores de Mapa<Cadena, Cadena>) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
FunciónDef.Builder | putArgAttr (tecla int, valor FunctionDef.ArgAttrs ) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
FunciónDef.Builder | |
FunciónDef.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. |
FunciónDef.Builder | putResourceArgUniqueId (clave int, valor int) Unique IDs for each resource argument, used to track aliasing resources. |
FunciónDef.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. |
FunciónDef.Builder | removeArgAttr (tecla int) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
FunciónDef.Builder | removeAttr (clave de cadena) Attributes specific to this function definition. |
FunciónDef.Builder | removeControlRet (tecla de cadena) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
FunciónDef.Builder | eliminarNodeDef (índice int) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunciónDef.Builder | removeResourceArgUniqueId (clave int) Unique IDs for each resource argument, used to track aliasing resources. |
FunciónDef.Builder | removeRet (tecla de cadena) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
FunciónDef.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
FunciónDef.Builder | setNodeDef (índice int, NodeDef.Builder builderForValue) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunciónDef.Builder | setNodeDef (índice int, valor de NodeDef ) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunciónDef.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto) |
FunciónDef.Builder | setSignature (valor OpDef ) The definition of the function's name, arguments, return values, attrs etc. |
FunciónDef.Builder | setSignature ( OpDef.Builder constructorForValue) The definition of the function's name, arguments, return values, attrs etc. |
FunctionDef.Builder final | setUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields) |
Métodos heredados
Métodos públicos
public FunctionDef.Builder addAllNodeDef (Iterable<? extiende los 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 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;
función públicaDef.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;
función públicaDef.Builder addNodeDef (índice int, 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 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;
público 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;
público 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;
función públicaDef.Builder clearSignature ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
booleano público contieneArgAttr (clave int)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
booleano público contieneAttr (clave de cadena)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
booleano público contieneControlRet (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;
booleano público contieneResourceArgUniqueId (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;
booleano público 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<string, string> ret = 4;
público int getArgAttrCount ()
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
Mapa público<Entero, FunctionDef.ArgAttrs > getArgAttrMap ()
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
público FunctionDef.ArgAttrs getArgAttrOrDefault (clave int, FunctionDef.ArgAttrs defaultValue)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
Función públicaDef.ArgAttrs getArgAttrOrThrow (tecla int)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
público int getAttrCount ()
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
Mapa público<Cadena, 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;
público AttrValue getAttrOrThrow (clave de cadena)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
público 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;
Mapa público<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.
map<string, string> control_ret = 6;
cadena pública 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;
cadena pública 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 ()
público com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
Mapa público<Integer, FunctionDef.ArgAttrs > getMutableArgAttr ()
Utilice descriptores de acceso de mutación alternativos en su lugar.
Mapa público<Cadena, AttrValue > getMutableAttr ()
Utilice descriptores de acceso de mutación alternativos en su lugar.
Mapa público<Cadena, Cadena> getMutableControlRet ()
Utilice descriptores de acceso de mutación alternativos en su lugar.
Mapa público<Entero, Entero> getMutableResourceArgUniqueId ()
Utilice descriptores de acceso de mutación alternativos en su lugar.
Mapa público<Cadena, Cadena> getMutableRet ()
Utilice descriptores de acceso de mutación alternativos en su lugar.
público 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;
público 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;
público 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;
público 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;
Mapa público<Entero, Entero> getResourceArgUniqueId ()
Utilice getResourceArgUniqueIdMap()
en su lugar.
público 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;
Mapa público<Entero, Entero> 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;
público int getResourceArgUniqueIdOrDefault (int clave, int defaultValue)
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;
público 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;
público 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;
Mapa público<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.
map<string, string> ret = 4;
cadena pública 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;
cadena pública 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;
getSignature público OpDef ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
público OpDef.Builder getSignatureBuilder ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
público OpDefOrBuilder getSignatureOrBuilder ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
hasSignature público booleano ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
público final booleano isInitialized ()
public FunctionDef.Builder mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOExcepción |
---|
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 desconocidoFields)
public FunctionDef.Builder putAllArgAttr (Map<Integer, FunctionDef.ArgAttrs > valores)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public FunctionDef.Builder putAllAttr (Map<String, AttrValue > valores)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
public FunctionDef.Builder putAllControlRet (valores de Map<String, String>)
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 (Mapa<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 (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.
map<string, string> ret = 4;
público FunctionDef.Builder putArgAttr (clave int, valor FunctionDef.ArgAttrs )
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public FunctionDef.Builder putAttr (clave de cadena, valor 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;
Función públicaDef.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)
público FunctionDef.Builder setNodeDef (índice int, 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 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 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;
público FunctionDef.Builder setSignature ( OpDef.Builder builderForValue)
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;