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
| FunçãoDef.Builder | addAllNodeDef (Iterable<? estende NodeDef > valores) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
| FunçãoDef.Builder | addNodeDef (valor NodeDef ) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
| FunçãoDef.Builder | addNodeDef ( NodeDef.Builder construtorForValue) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
| FunçãoDef.Builder | addNodeDef (índice int, NodeDef.Builder builderForValue) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
| FunçãoDef.Builder | addNodeDef (índice int, valor 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 interno) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
| FunçãoDef.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
| FunçãoDef | construir () |
| FunçãoDef | |
| FunçãoDef.Builder | claro () |
| FunçãoDef.Builder | clearArgAttr () |
| FunçãoDef.Builder | limparAttr () |
| FunçãoDef.Builder | |
| FunçãoDef.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
| FunçãoDef.Builder | limparNodeDef () By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
| FunçãoDef.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor umof) |
| FunçãoDef.Builder | |
| FunçãoDef.Builder | limparRet () |
| FunçãoDef.Builder | limparAssinatura () The definition of the function's name, arguments, return values, attrs etc. |
| FunçãoDef.Builder | clonar () |
| booleano | contémArgAttr (chave int) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
| booleano | contémAttr (chave de string) Attributes specific to this function definition. |
| booleano | contémControlRet (chave de string) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
| booleano | contémResourceArgUniqueId (chave int) Unique IDs for each resource argument, used to track aliasing resources. |
| booleano | contémRet (chave de string) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
| Mapa<Inteiro, FunctionDef.ArgAttrs > | getArgAttr () Use getArgAttrMap() em vez disso. |
| interno | getArgAttrCount () map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
| Mapa<Inteiro, FunctionDef.ArgAttrs > | getArgAttrMap () map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
| FunçãoDef.ArgAttrs | getArgAttrOrDefault (chave int, FunctionDef.ArgAttrs defaultValue) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
| FunçãoDef.ArgAttrs | getArgAttrOrThrow (chave int) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
| Mapa<String, AttrValue > | getAttr () Use getAttrMap() em vez disso. |
| interno | getAttrCount () Attributes specific to this function definition. |
| Mapa<String, AttrValue > | getAttrMap () Attributes specific to this function definition. |
| ValorAtributo | getAttrOrDefault (chave de string, AttrValue defaultValue) Attributes specific to this function definition. |
| ValorAtributo | getAttrOrThrow (chave de string) Attributes specific to this function definition. |
| Mapa<String, String> | getControlRet () Use getControlRetMap() em vez disso. |
| interno | getControlRetCount () A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
| Mapa<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. |
| Corda | getControlRetOrDefault (chave de string, string defaultValue) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
| Corda | getControlRetOrThrow (chave de string) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
| FunçãoDef | |
| final estático com.google.protobuf.Descriptors.Descriptor | |
| com.google.protobuf.Descriptors.Descriptor | |
| Mapa<Inteiro, FunctionDef.ArgAttrs > | getMutableArgAttr () Use acessadores de mutação alternativos. |
| Mapa<String, AttrValue > | getMutableAttr () Use acessadores de mutação alternativos. |
| Mapa<String, String> | getMutableControlRet () Use acessadores de mutação alternativos. |
| Mapa<Inteiro, Inteiro> | getMutableResourceArgUniqueId () Use acessadores de mutação alternativos. |
| Mapa<String, String> | getMutableRet () Use acessadores de mutação alternativos. |
| NodeDef | getNodeDef (índice interno) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
| NodeDef.Builder | getNodeDefBuilder (índice interno) 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. |
| interno | 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 interno) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
| Lista<? estende NodeDefOrBuilder > | getNodeDefOrBuilderList () By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
| Mapa<Inteiro, Inteiro> | getResourceArgUniqueId () Use getResourceArgUniqueIdMap() em vez disso. |
| interno | getResourceArgUniqueIdCount () Unique IDs for each resource argument, used to track aliasing resources. |
| Mapa<Inteiro, Inteiro> | getResourceArgUniqueIdMap () Unique IDs for each resource argument, used to track aliasing resources. |
| interno | getResourceArgUniqueIdOrDefault (chave int, int defaultValue) Unique IDs for each resource argument, used to track aliasing resources. |
| interno | getResourceArgUniqueIdOrThrow (chave int) Unique IDs for each resource argument, used to track aliasing resources. |
| Mapa<String, String> | obterRet () Use getRetMap() em vez disso. |
| interno | getRetCount () A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
| Mapa<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. |
| Corda | getRetOrDefault (chave de string, string defaultValue) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
| Corda | getRetOrThrow (chave de string) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
| OpDef | obterAssinatura () 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 | temAssinatura () The definition of the function's name, arguments, return values, attrs etc. |
| booleano final | |
| FunçãoDef.Builder | mergeFrom (com.google.protobuf.Message outro) |
| FunçãoDef.Builder | mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| FunçãoDef.Builder | mergeSignature (valor OpDef ) The definition of the function's name, arguments, return values, attrs etc. |
| FunctionDef.Builder final | mesclarUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields) |
| FunçãoDef.Builder | putAllArgAttr (Map<Integer, FunctionDef.ArgAttrs > valores) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
| FunçãoDef.Builder | |
| FunçãoDef.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. |
| FunçãoDef.Builder | putAllResourceArgUniqueId (Map<Integer, Integer> valores) Unique IDs for each resource argument, used to track aliasing resources. |
| FunçãoDef.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. |
| FunçãoDef.Builder | putArgAttr (chave int, valor FunctionDef.ArgAttrs ) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
| FunçãoDef.Builder | |
| FunçãoDef.Builder | putControlRet (chave de string, valor de string) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
| FunçãoDef.Builder | putResourceArgUniqueId (chave int, valor int) Unique IDs for each resource argument, used to track aliasing resources. |
| FunçãoDef.Builder | putRet (chave de string, valor de string) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
| FunçãoDef.Builder | removeArgAttr (chave int) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
| FunçãoDef.Builder | removeAttr (chave de string) Attributes specific to this function definition. |
| FunçãoDef.Builder | removeControlRet (chave de string) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
| FunçãoDef.Builder | removeNodeDef (índice interno) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
| FunçãoDef.Builder | removeResourceArgUniqueId (chave int) Unique IDs for each resource argument, used to track aliasing resources. |
| FunçãoDef.Builder | removeRet (chave de string) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
| FunçãoDef.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
| FunçãoDef.Builder | setNodeDef (índice int, NodeDef.Builder builderForValue) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
| FunçãoDef.Builder | setNodeDef (índice int, valor NodeDef ) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
| FunçãoDef.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto) |
| FunçãoDef.Builder | setSignature (valor OpDef ) The definition of the function's name, arguments, return values, attrs etc. |
| FunçãoDef.Builder | setSignature ( OpDef.Builder construtorForValue) The definition of the function's name, arguments, return values, attrs etc. |
| FunctionDef.Builder final | setUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields) |
Métodos herdados
Métodos Públicos
public FunctionDef.Builder addAllNodeDef (Iterable<? estende NodeDef > valores)
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; public FunctionDef.Builder addNodeDef ( NodeDef.Builder construtorForValue)
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, 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; 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 do objeto)
Função públicaDef.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; Função públicaDef.Builder clearSignature ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1; booleano público contémArgAttr (chave int)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public boolean containsAttr (chave String)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5; booleano público contémControlRet (chave 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; booleano público contémResourceArgUniqueId (chave 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 booleano contémRet (chave 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 int getArgAttrCount ()
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
mapa público <inteiro, FunctionDef.ArgAttrs > getArgAttrMap ()
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public FunctionDef.ArgAttrs getArgAttrOrDefault (chave int, FunctionDef.ArgAttrs defaultValue)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public FunctionDef.ArgAttrs getArgAttrOrThrow (chave 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<String, AttrValue > getAttrMap ()
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5; public AttrValue getAttrOrDefault (chave de string, AttrValue defaultValue)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5; público AttrValue getAttrOrThrow (chave de string)
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<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; string pública getControlRetOrDefault (chave de string, string defaultValue)
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; String pública getControlRetOrThrow (chave de 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; final estático público com.google.protobuf.Descriptors.Descriptor getDescriptor ()
público com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
mapa público <inteiro, FunctionDef.ArgAttrs > getMutableArgAttr ()
Use acessadores de mutação alternativos.
mapa público<String, String> getMutableControlRet ()
Use acessadores de mutação alternativos.
mapa público<Integer, Integer> getMutableResourceArgUniqueId ()
Use acessadores de mutação alternativos.
mapa público<String, String> getMutableRet ()
Use acessadores de mutação alternativos.
público NodeDef getNodeDef (índice interno)
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; publicint 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<? estende 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<Integer, Integer> getResourceArgUniqueId ()
Use getResourceArgUniqueIdMap() em vez disso.
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<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; público int getResourceArgUniqueIdOrDefault (chave int, 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 (chave 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<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; string pública getRetOrDefault (chave de string, string defaultValue)
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; String pública getRetOrThrow (chave de 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ública OpDef getSignature ()
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 OpDefOrBuildergetSignatureOrBuilder ( )
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1; hasSignature booleano público ()
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)
Lança
| IOException |
|---|
public FunctionDef.Builder mergeSignature (valor OpDef )
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1; final público FunctionDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields)
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 (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 (chave int, valor FunctionDef.ArgAttrs )
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public FunctionDef.Builder putAttr (chave String, valor AttrValue )
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5; public FunctionDef.Builder putControlRet (chave String, valor 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 putResourceArgUniqueId (chave 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 (chave de string, valor de 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; public FunctionDef.Builder removeArgAttr (chave int)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public FunctionDef.Builder removeAttr (chave String)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5; public FunctionDef.Builder removeControlRet (chave 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 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 (chave 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 (chave 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; public FunctionDef.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
public 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 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 do 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;