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 tipo tensorflow.FunctionDef Métodos Públicos
| FunctionDef.Builder | addAllNodeDef (Iterable <? extends NodeDef > valores) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
| FunctionDef.Builder | addNodeDef (valor 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 interno , NodeDef.Builder builderForValue) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
| FunctionDef.Builder | addNodeDef (índice interno , 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. |
| FunctionDef.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
| FunctionDef | build () |
| FunctionDef | buildPartial () |
| FunctionDef.Builder | limpar () |
| 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 | clone () |
| boleano | containsArgAttr (chave int) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
| boleano | containsAttr (chave String) Attributes specific to this function definition. |
| boleano | containsControlRet (chave String) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
| boleano | containsResourceArgUniqueId (chave int) Unique IDs for each resource argument, used to track aliasing resources. |
| boleano | containsRet (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 <Integer, FunctionDef.ArgAttrs > | getArgAttr () getArgAttrMap() vez disso, use getArgAttrMap() . |
| int | getArgAttrCount () map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
| Map <Integer, FunctionDef.ArgAttrs > | getArgAttrMap () map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
| FunctionDef.ArgAttrs | getArgAttrOrDefault (int key, FunctionDef.ArgAttrs defaultValue) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
| FunctionDef.ArgAttrs | getArgAttrOrThrow (int key) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
| Map <String, AttrValue > | getAttr () getAttrMap() vez disso, use getAttrMap() . |
| int | getAttrCount () Attributes specific to this function definition. |
| Map <String, AttrValue > | getAttrMap () Attributes specific to this function definition. |
| AttrValue | getAttrOrDefault (String key, AttrValue defaultValue) Attributes specific to this function definition. |
| AttrValue | getAttrOrThrow (String key) Attributes specific to this function definition. |
| Map <String, String> | getControlRet () Em vez disso, use getControlRetMap() . |
| 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> | getControlRetMap () A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
| Fragmento | getControlRetOrDefault (String key, String defaultValue) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
| Fragmento | getControlRetOrThrow (String key) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
| FunctionDef | |
| final static com.google.protobuf.Descriptors.Descriptor | |
| com.google.protobuf.Descriptors.Descriptor | |
| Map <Integer, FunctionDef.ArgAttrs > | getMutableArgAttr () Em vez disso, use acessadores de mutação alternativos. |
| Map <String, AttrValue > | getMutableAttr () Em vez disso, use acessadores de mutação alternativos. |
| Map <String, String> | getMutableControlRet () Em vez disso, use acessadores de mutação alternativos. |
| Map <Integer, Integer> | getMutableResourceArgUniqueId () Em vez disso, use acessadores de mutação alternativos. |
| Map <String, String> | getMutableRet () Em vez disso, 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. |
| List < NodeDef.Builder > | getNodeDefBuilderList () By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
| int | 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. |
| Map <Integer, Integer> | getResourceArgUniqueId () Em vez disso, use getResourceArgUniqueIdMap() . |
| int | getResourceArgUniqueIdCount () Unique IDs for each resource argument, used to track aliasing resources. |
| Map <Integer, Integer> | getResourceArgUniqueIdMap () Unique IDs for each resource argument, used to track aliasing resources. |
| int | getResourceArgUniqueIdOrDefault (int key, int defaultValue) Unique IDs for each resource argument, used to track aliasing resources. |
| int | getResourceArgUniqueIdOrThrow (int key) Unique IDs for each resource argument, used to track aliasing resources. |
| Map <String, String> | getRet () getRetMap() vez disso, use getRetMap() . |
| 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> | getRetMap () A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
| Fragmento | getRetOrDefault (String key, String defaultValue) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
| Fragmento | getRetOrThrow (String key) 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. |
| boleano | hasSignature () The definition of the function's name, arguments, return values, attrs etc. |
| final booleano | |
| FunctionDef.Builder | mergeFrom (com.google.protobuf.Message other) |
| FunctionDef.Builder | mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| FunctionDef.Builder | mergeSignature (valor OpDef ) The definition of the function's name, arguments, return values, attrs etc. |
| final FunctionDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
| FunctionDef.Builder | putAllArgAttr (Mapear valores <Integer, FunctionDef.ArgAttrs >) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
| FunctionDef.Builder | |
| FunctionDef.Builder | putAllControlRet (Mapear valores <String, String>) 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 (valores Map <Integer, Integer>) Unique IDs for each resource argument, used to track aliasing resources. |
| FunctionDef.Builder | putAllRet (Mapear valores <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 (chave int, valor FunctionDef.ArgAttrs ) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
| FunctionDef.Builder | |
| FunctionDef.Builder | putControlRet (chave da string, valor da string) 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 (chave int, valor int) Unique IDs for each resource argument, used to track aliasing resources. |
| FunctionDef.Builder | putRet (chave da string, valor da 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 | removeArgAttr (chave int) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
| FunctionDef.Builder | removeAttr (chave String) Attributes specific to this function definition. |
| 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. |
| FunctionDef.Builder | removeNodeDef (índice interno ) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
| FunctionDef.Builder | removeResourceArgUniqueId (chave int) Unique IDs for each resource argument, used to track aliasing resources. |
| 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. |
| FunctionDef.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
| FunctionDef.Builder | setNodeDef (índice interno , NodeDef.Builder builderForValue) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
| FunctionDef.Builder | setNodeDef (índice interno , valor 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 do 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. |
| final FunctionDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
Métodos herdados
Métodos Públicos
public FunctionDef.Builder addAllNodeDef (Iterable <? extends 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 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 interno , 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 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; public FunctionDef.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do 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 (int key)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public boolean containsAttr (String key)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;public boolean containsControlRet (String key)
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 (int key)
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 (String key)
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 <Integer, FunctionDef.ArgAttrs > getArgAttr ()
getArgAttrMap() vez disso, use getArgAttrMap() .
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 (int key, 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;
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 (String key, AttrValue defaultValue)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;public AttrValue getAttrOrThrow (String key)
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 (String key, 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;public String getControlRetOrThrow (String key)
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 static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public Map <Integer, FunctionDef.ArgAttrs > getMutableArgAttr ()
Em vez disso, use acessadores de mutação alternativos.
public Map <String, AttrValue > getMutableAttr ()
Em vez disso, use acessadores de mutação alternativos.
public Map <String, String> getMutableControlRet ()
Em vez disso, use acessadores de mutação alternativos.
public Map <Integer, Integer> getMutableResourceArgUniqueId ()
Em vez disso, use acessadores de mutação alternativos.
public Map <String, String> getMutableRet ()
Em vez disso, use acessadores de mutação alternativos.
public 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;public NodeDef.Builder getNodeDefBuilder (í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;public List < 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;public List < 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 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;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;public Map <Integer, Integer> getResourceArgUniqueId ()
Em vez disso, use getResourceArgUniqueIdMap() .
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 (int key, 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;public int getResourceArgUniqueIdOrThrow (int key)
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 (String key, 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;public String getRetOrThrow (String key)
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 (com.google.protobuf.CodedInputStream input, 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;public final FunctionDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public FunctionDef.Builder putAllArgAttr (Map <Integer, FunctionDef.ArgAttrs > values)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public FunctionDef.Builder putAllAttr (Map <String, AttrValue > values)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5; public FunctionDef.Builder putAllControlRet (Map <String, String> values)
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> values)
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 (int key, FunctionDef.ArgAttrs value)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public FunctionDef.Builder putAttr (String key, AttrValue value)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;public FunctionDef.Builder putControlRet (String key, String value)
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 (String key, String value)
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 (String key)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;public FunctionDef.Builder removeControlRet (String key)
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 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;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 (String key)
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 (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 interno , 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;