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
de type Protobuf.FunctionDef Méthodes publiques
FunctionDef.Builder | addAllNodeDef (Iterable<? étend NodeDef > valeurs) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | addNodeDef (valeur 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 (index int, NodeDef.Builder builderForValue) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | addNodeDef (index int, valeur 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 (index int) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | addRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet) |
FonctionDef | construire () |
FonctionDef | buildPartial () |
FunctionDef.Builder | clair () |
FunctionDef.Builder | clearArgAttr () |
FunctionDef.Builder | effacerAttr () |
FunctionDef.Builder | |
FunctionDef.Builder | clearField (champ 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 | effacerRet () |
FunctionDef.Builder | effacerSignature () The definition of the function's name, arguments, return values, attrs etc. |
FunctionDef.Builder | cloner () |
booléen | contientArgAttr (clé int) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
booléen | contientAttr (clé de chaîne) Attributes specific to this function definition. |
booléen | contientControlRet (clé de chaîne) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
booléen | contientResourceArgUniqueId (clé int) Unique IDs for each resource argument, used to track aliasing resources. |
booléen | contientRet (clé de chaîne) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
Carte<Integer, FunctionDef.ArgAttrs > | getArgAttr () Utilisez plutôt getArgAttrMap() . |
int | getArgAttrCount () map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
Carte<Integer, FunctionDef.ArgAttrs > | getArgAttrMap () map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
FunctionDef.ArgAttrs | getArgAttrOrDefault (clé int, FunctionDef.ArgAttrs defaultValue) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
FunctionDef.ArgAttrs | getArgAttrOrThrow (clé int) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
Carte<String, AttrValue > | getAttr () Utilisez plutôt getAttrMap() . |
int | getAttrCount () Attributes specific to this function definition. |
Carte<String, AttrValue > | getAttrMap () Attributes specific to this function definition. |
Valeur d'attribut | getAttrOrDefault (clé de chaîne, AttrValue defaultValue) Attributes specific to this function definition. |
Valeur d'attribut | getAttrOrThrow (clé de chaîne) Attributes specific to this function definition. |
Carte<String, String> | getControlRet () Utilisez plutôt 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. |
Carte<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. |
Chaîne | getControlRetOrDefault (clé de chaîne, chaîne valeur par défaut) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
Chaîne | getControlRetOrThrow (clé de chaîne) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
FonctionDef | |
final statique com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
Carte<Integer, FunctionDef.ArgAttrs > | getMutableArgAttr () Utilisez plutôt d’autres accesseurs de mutation. |
Carte<String, AttrValue > | getMutableAttr () Utilisez plutôt d’autres accesseurs de mutation. |
Carte<String, String> | getMutableControlRet () Utilisez plutôt d’autres accesseurs de mutation. |
Carte<Integer, Integer> | getMutableResourceArgUniqueId () Utilisez plutôt d’autres accesseurs de mutation. |
Carte<String, String> | getMutableRet () Utilisez plutôt d’autres accesseurs de mutation. |
NodeDef | getNodeDef (index entier) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
NodeDef.Builder | getNodeDefBuilder (index int) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
Liste< 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. |
Liste <NodeDef> | getNodeDefList () By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
NodeDefOrBuilder | getNodeDefOrBuilder (index int) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
Liste<? étend NodeDefOrBuilder > | getNodeDefOrBuilderList () By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
Carte<Integer, Integer> | getResourceArgUniqueId () Utilisez plutôt getResourceArgUniqueIdMap() . |
int | getResourceArgUniqueIdCount () Unique IDs for each resource argument, used to track aliasing resources. |
Carte<Integer, Integer> | getResourceArgUniqueIdMap () Unique IDs for each resource argument, used to track aliasing resources. |
int | getResourceArgUniqueIdOrDefault (clé int, int defaultValue) Unique IDs for each resource argument, used to track aliasing resources. |
int | getResourceArgUniqueIdOrThrow (clé int) Unique IDs for each resource argument, used to track aliasing resources. |
Carte<String, String> | obtenirRet () Utilisez plutôt 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. |
Carte<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. |
Chaîne | getRetOrDefault (clé de chaîne, chaîne valeur par défaut) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
Chaîne | getRetOrThrow (clé de chaîne) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
OpDef | obtenirSignature () 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. |
booléen | aSignature () The definition of the function's name, arguments, return values, attrs etc. |
booléen final | |
FunctionDef.Builder | mergeFrom (com.google.protobuf.Message autre) |
FunctionDef.Builder | mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
FunctionDef.Builder | mergeSignature (valeur OpDef ) The definition of the function's name, arguments, return values, attrs etc. |
FunctionDef.Builder final | mergeUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields) |
FunctionDef.Builder | putAllArgAttr (Map<Integer, FunctionDef.ArgAttrs > valeurs) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
FunctionDef.Builder | |
FunctionDef.Builder | putAllControlRet (valeurs 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. |
FunctionDef.Builder | putAllResourceArgUniqueId (valeurs Map<Integer, Integer>) Unique IDs for each resource argument, used to track aliasing resources. |
FunctionDef.Builder | putAllRet (valeurs Map<String, String>) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
FunctionDef.Builder | putArgAttr (clé int, valeur FunctionDef.ArgAttrs ) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
FunctionDef.Builder | |
FunctionDef.Builder | putControlRet (clé de chaîne, valeur de chaîne) 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 (clé int, valeur int) Unique IDs for each resource argument, used to track aliasing resources. |
FunctionDef.Builder | putRet (clé de chaîne, valeur de chaîne) 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 (clé int) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
FunctionDef.Builder | RemoveAttr (clé de chaîne) Attributes specific to this function definition. |
FunctionDef.Builder | RemoveControlRet (clé de chaîne) 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 (index int) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | RemoveResourceArgUniqueId (clé int) Unique IDs for each resource argument, used to track aliasing resources. |
FunctionDef.Builder | RemoveRet (clé de chaîne) 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 (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet) |
FunctionDef.Builder | setNodeDef (index int, NodeDef.Builder builderForValue) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | setNodeDef (index int, valeur NodeDef ) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | setRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, index int, valeur de l'objet) |
FunctionDef.Builder | setSignature (valeur OpDef ) The definition of the function's name, arguments, return values, attrs etc. |
FunctionDef.Builder | setSignature ( OpDef.Builder builderForValue) The definition of the function's name, arguments, return values, attrs etc. |
FunctionDef.Builder final | setUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields) |
Méthodes héritées
Méthodes publiques
public FunctionDef.Builder addAllNodeDef (Iterable <? étend les valeurs 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 (valeur 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 (index 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 (index int, valeur 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 (index 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 (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)
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 containArgAttr (clé int)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public boolean containAttr (clé de chaîne)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
public boolean containControlRet (clé de chaîne)
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 booléen containResourceArgUniqueId (clé int)
Unique IDs for each resource argument, used to track aliasing resources. If Argument A and Argument B alias each other, then resource_arg_unique_ids[A.index] == resource_arg_unique_ids[B.index]. If this field is empty, none of the arguments could alias; otherwise, every resource argument should have an entry in this field. When instantiated, the unique IDs will be attached to the _Arg nodes' "_resource_arg_unique_id" attribute.
map<uint32, uint32> resource_arg_unique_id = 8;
public boolean containRet (clé de chaîne)
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 (clé int, FunctionDef.ArgAttrs defaultValue)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public FunctionDef.ArgAttrs getArgAttrOrThrow (clé 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 (clé de chaîne, AttrValue defaultValue)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
public AttrValue getAttrOrThrow (clé de chaîne)
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;
chaîne publique getControlRetOrDefault (clé de chaîne, valeur par défaut de chaîne)
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;
chaîne publique getControlRetOrThrow (clé de chaîne)
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 statique final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public Map<Integer, FunctionDef.ArgAttrs > getMutableArgAttr ()
Utilisez plutôt d’autres accesseurs de mutation.
public Map<String, String> getMutableControlRet ()
Utilisez plutôt d’autres accesseurs de mutation.
public Map<Integer, Integer> getMutableResourceArgUniqueId ()
Utilisez plutôt d’autres accesseurs de mutation.
public Map<String, String> getMutableRet ()
Utilisez plutôt d’autres accesseurs de mutation.
public NodeDef getNodeDef (index 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 (index 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;
Liste publique < 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;
Liste publique < 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 (index 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;
Liste publique <? étend 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 ()
Utilisez plutôt 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 (clé 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 (clé int)
Unique IDs for each resource argument, used to track aliasing resources. If Argument A and Argument B alias each other, then resource_arg_unique_ids[A.index] == resource_arg_unique_ids[B.index]. If this field is empty, none of the arguments could alias; otherwise, every resource argument should have an entry in this field. When instantiated, the unique IDs will be attached to the _Arg nodes' "_resource_arg_unique_id" attribute.
map<uint32, uint32> resource_arg_unique_id = 8;
public int getRetCount ()
A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.
map<string, string> ret = 4;
public Map<String, String> getRetMap ()
A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.
map<string, string> ret = 4;
chaîne publique getRetOrDefault (clé de chaîne, valeur par défaut de chaîne)
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;
chaîne publique getRetOrThrow (clé de chaîne)
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 booléen hasSignature ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
public final booléen isInitialized ()
public FunctionDef.Builder mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public FunctionDef.Builder mergeSignature (valeur 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 > valeurs)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public FunctionDef.Builder putAllAttr (Map<String, AttrValue > valeurs)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
public FunctionDef.Builder putAllControlRet (valeurs 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 (valeurs 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 (valeurs 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 (clé int, valeur FunctionDef.ArgAttrs )
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public FunctionDef.Builder putAttr (clé de chaîne, valeur AttrValue )
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
public FunctionDef.Builder putControlRet (clé de chaîne, valeur de chaîne)
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 (clé int, valeur 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 (clé de chaîne, valeur de chaîne)
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 (clé int)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public FunctionDef.Builder removeAttr (clé de chaîne)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
public FunctionDef.Builder removeControlRet (clé de chaîne)
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 (index 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 (clé 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 (clé de chaîne)
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 (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)
public FunctionDef.Builder setNodeDef (index 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 (index int, valeur 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 (champ com.google.protobuf.Descriptors.FieldDescriptor, index int, valeur de l'objet)
public FunctionDef.Builder setSignature (valeur 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;