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
Metodi pubblici
FunzioneDef.Builder | addAllNodeDef (Iterable<? estende i valori NodeDef >) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunzioneDef.Builder | addNodeDef (valore NodeDef ) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunzioneDef.Builder | addNodeDef ( NodeDef.Builder builderForValue) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunzioneDef.Builder | addNodeDef (indice int, NodeDef.Builder builderForValue) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunzioneDef.Builder | addNodeDef (indice int, valore 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 (indice int) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunzioneDef.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto) |
FunzioneDef | costruire () |
FunzioneDef | buildPartial () |
FunzioneDef.Builder | chiaro () |
FunzioneDef.Builder | clearArgAttr () |
FunzioneDef.Builder | clearAttr () |
FunzioneDef.Builder | |
FunzioneDef.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
FunzioneDef.Builder | clearNodeDef () By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunzioneDef.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
FunzioneDef.Builder | |
FunzioneDef.Builder | cancellaRet () |
FunzioneDef.Builder | cancellaFirma () The definition of the function's name, arguments, return values, attrs etc. |
FunzioneDef.Builder | clone () |
booleano | contieneArgAttr (chiave int) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
booleano | contieneAttr (chiave String) Attributes specific to this function definition. |
booleano | contieneControlRet (chiave String) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
booleano | contieneResourceArgUniqueId (chiave int) Unique IDs for each resource argument, used to track aliasing resources. |
booleano | contieneRet (chiave String) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
Map<intero, FunctionDef.ArgAttrs > | getArgAttr () Utilizzare invece getArgAttrMap() . |
int | getArgAttrCount () map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
Map<intero, FunctionDef.ArgAttrs > | getArgAttrMap () map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
FunzioneDef.ArgAttrs | getArgAttrOrDefault (chiave int, FunctionDef.ArgAttrs defaultValue) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
FunzioneDef.ArgAttrs | getArgAttrOrThrow (tasto int) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
Mappa<String, AttrValue > | getAttr () Utilizzare invece getAttrMap() . |
int | getAttrCount () Attributes specific to this function definition. |
Mappa<String, AttrValue > | getAttrMap () Attributes specific to this function definition. |
AttrValue | getAttrOrDefault (chiave String, AttrValue defaultValue) Attributes specific to this function definition. |
AttrValue | getAttrOrThrow (chiave String) Attributes specific to this function definition. |
Mappa<Stringa, Stringa> | getControlRet () Utilizzare invece 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. |
Mappa<Stringa, Stringa> | 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 (chiave 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 (chiave String) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
FunzioneDef | |
com.google.protobuf.Descriptors.Descriptor statico finale | |
com.google.protobuf.Descriptors.Descriptor | |
Map<intero, FunctionDef.ArgAttrs > | getMutableArgAttr () Utilizzare invece accessori di mutazione alternativi. |
Mappa<String, AttrValue > | getMutableAttr () Utilizzare invece accessori di mutazione alternativi. |
Mappa<Stringa, Stringa> | getMutableControlRet () Utilizzare invece accessori di mutazione alternativi. |
Mappa<Intero, Intero> | getMutableResourceArgUniqueId () Utilizzare invece accessori di mutazione alternativi. |
Mappa<Stringa, Stringa> | getMutableRet () Utilizzare invece accessori di mutazione alternativi. |
NodoDef | getNodeDef (indice int) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
NodeDef.Builder | getNodeDefBuilder (indice int) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
Elenco< 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. |
Elenco< NodeDef > | getNodeDefList () By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
NodeDefOrBuilder | getNodeDefOrBuilder (indice int) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
Elenco<? estende NodeDefOrBuilder > | getNodeDefOrBuilderList () By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
Mappa<Intero, Intero> | getResourceArgUniqueId () Utilizzare invece getResourceArgUniqueIdMap() . |
int | getResourceArgUniqueIdCount () Unique IDs for each resource argument, used to track aliasing resources. |
Mappa<Intero, Intero> | getResourceArgUniqueIdMap () Unique IDs for each resource argument, used to track aliasing resources. |
int | getResourceArgUniqueIdOrDefault (chiave int, valore predefinito int) Unique IDs for each resource argument, used to track aliasing resources. |
int | getResourceArgUniqueIdOrThrow (chiave int) Unique IDs for each resource argument, used to track aliasing resources. |
Mappa<Stringa, Stringa> | getRet () Utilizzare invece 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. |
Mappa<Stringa, Stringa> | 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 (chiave 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 (chiave String) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
OpDef | getFirma () 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 | haFirma () The definition of the function's name, arguments, return values, attrs etc. |
booleano finale | |
FunzioneDef.Builder | mergeFrom (com.google.protobuf.Message altro) |
FunzioneDef.Builder | mergeFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry) |
FunzioneDef.Builder | mergeSignature (valore OpDef ) The definition of the function's name, arguments, return values, attrs etc. |
finale FunctionDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
FunzioneDef.Builder | putAllArgAttr (Map<Integer, FunctionDef.ArgAttrs > valori) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
FunzioneDef.Builder | |
FunzioneDef.Builder | putAllControlRet (valori 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. |
FunzioneDef.Builder | putAllResourceArgUniqueId (valori Map<Integer, Integer>) Unique IDs for each resource argument, used to track aliasing resources. |
FunzioneDef.Builder | putAllRet (valori 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. |
FunzioneDef.Builder | putArgAttr (chiave int, valore FunctionDef.ArgAttrs ) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
FunzioneDef.Builder | |
FunzioneDef.Builder | putControlRet (chiave stringa, valore stringa) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
FunzioneDef.Builder | putResourceArgUniqueId (chiave int, valore int) Unique IDs for each resource argument, used to track aliasing resources. |
FunzioneDef.Builder | putRet (chiave stringa, valore stringa) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
FunzioneDef.Builder | rimuoviArgAttr (chiave int) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
FunzioneDef.Builder | rimuoviAttr (chiave String) Attributes specific to this function definition. |
FunzioneDef.Builder | rimuoviControlRet (chiave String) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
FunzioneDef.Builder | rimuoviNodeDef (indice int) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunzioneDef.Builder | rimuoviResourceArgUniqueId (chiave int) Unique IDs for each resource argument, used to track aliasing resources. |
FunzioneDef.Builder | rimuoviRet (chiave String) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
FunzioneDef.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto) |
FunzioneDef.Builder | setNodeDef (indice int, NodeDef.Builder builderForValue) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunzioneDef.Builder | setNodeDef (indice int, valore NodeDef ) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunzioneDef.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, indice int, valore oggetto) |
FunzioneDef.Builder | setSignature (valore OpDef ) The definition of the function's name, arguments, return values, attrs etc. |
FunzioneDef.Builder | setSignature ( OpDef.Builder builderForValue) The definition of the function's name, arguments, return values, attrs etc. |
finale FunctionDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
Metodi ereditati
Metodi pubblici
public FunctionDef.Builder addAllNodeDef (Iterable<? estende NodeDef > valori)
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 (valore 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 (indice 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 (indice int, valore 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 (indice 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, valore oggetto)
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;
booleano pubblico contieneArgAttr (chiave int)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
booleano pubblico contieneAttr (chiave String)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
booleano pubblico contieneControlRet (chiave 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 pubblico contieneResourceArgUniqueId (chiave 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 pubblico contieneRet (chiave 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 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 (chiave int, FunctionDef.ArgAttrs defaultValue)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public FunctionDef.ArgAttrs getArgAttrOrThrow (tasto int)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public int getAttrCount ()
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
mappa pubblica<String, AttrValue > getAttrMap ()
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
public AttrValue getAttrOrDefault (chiave String, AttrValue defaultValue)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
public AttrValue getAttrOrThrow (chiave String)
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 (chiave 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;
public String getControlRetOrThrow (chiave 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 static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
pubblico com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public Map<Integer, FunctionDef.ArgAttrs > getMutableArgAttr ()
Utilizzare invece accessori di mutazione alternativi.
mappa pubblica<String, AttrValue > getMutableAttr ()
Utilizzare invece accessori di mutazione alternativi.
public Map<String, String> getMutableControlRet ()
Utilizzare invece accessori di mutazione alternativi.
public Map<intero, intero> getMutableResourceArgUniqueId ()
Utilizzare invece accessori di mutazione alternativi.
public Map<String, String> getMutableRet ()
Utilizzare invece accessori di mutazione alternativi.
public NodeDef getNodeDef (indice 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 (indice 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;
Elenco pubblico< 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;
Elenco pubblico< 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 (indice 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;
Elenco pubblico<? 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;
mappa pubblica<intero, intero> getResourceArgUniqueId ()
Utilizzare invece 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<intero, intero> 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 (chiave 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;
public int getResourceArgUniqueIdOrThrow (chiave 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;
pubblico 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 (chiave 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;
public String getRetOrThrow (chiave 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 OpDef getSignature ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
pubblico 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;
hasSignature booleano pubblico ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
public final booleano isInitialized ()
public FunctionDef.Builder mergeFrom (input com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
public FunctionDef.Builder mergeSignature (valore 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 > valori)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public FunctionDef.Builder putAllAttr (Map<String, AttrValue > valori)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
public FunctionDef.Builder putAllControlRet (valori 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 (valori Map<Integer, Integer>)
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 (valori 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;
public FunctionDef.Builder putArgAttr (chiave int, valore FunctionDef.ArgAttrs )
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public FunctionDef.Builder putAttr (chiave String, valore AttrValue )
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
public FunctionDef.Builder putControlRet (chiave stringa, valore stringa)
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 (chiave int, valore 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 (chiave stringa, valore stringa)
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 rimuoviArgAttr (chiave int)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public FunctionDef.BuilderremoveAttr ( chiave String)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
public FunctionDef.BuilderremoveControlRet ( chiave 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.BuilderremoveNodeDef ( indice 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 rimuoviResourceArgUniqueId (chiave 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 rimuoviRet (chiave 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, valore oggetto)
public FunctionDef.Builder setNodeDef (indice 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 (indice int, valore 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, indice int, valore oggetto)
public FunctionDef.Builder setSignature (valore 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;