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
מסוג Protobuf.FunctionDef שיטות ציבוריות
FunctionDef.Builder | addAllNodeDef (Iterable<? מרחיב את NodeDef > ערכים) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | addNodeDef (ערך 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 (int index, NodeDef.Builder builderForValue) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | addNodeDef (int index, ערך 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 (int index) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | addRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט) |
FunctionDef | לבנות () |
FunctionDef | buildPartial () |
FunctionDef.Builder | ברור () |
FunctionDef.Builder | clearArgAttr () |
FunctionDef.Builder | clearAttr () |
FunctionDef.Builder | |
FunctionDef.Builder | clearField (שדה 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 | שיבוט () |
בוליאני | containsArgAttr (מפתח int) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
בוליאני | containsAttr (מפתח מחרוזת) Attributes specific to this function definition. |
בוליאני | containsControlRet (מפתח מחרוזת) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
בוליאני | containsResourceArgUniqueId (מפתח int) Unique IDs for each resource argument, used to track aliasing resources. |
בוליאני | containsRet (מפתח מחרוזת) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
מפה<Integer, FunctionDef.ArgAttrs > | getArgAttr () השתמש ב- getArgAttrMap() במקום זאת. |
int | getArgAttrCount () map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
מפה<Integer, FunctionDef.ArgAttrs > | getArgAttrMap () map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
FunctionDef.ArgAttrs | getArgAttrOrDefault (מפתח int, FunctionDef.ArgAttrs defaultValue) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
FunctionDef.ArgAttrs | getArgAttrOrThrow (מפתח int) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
מפה<String, AttrValue > | getAttr () השתמש ב- getAttrMap() במקום זאת. |
int | getAttrCount () Attributes specific to this function definition. |
מפה<String, AttrValue > | getAttrMap () Attributes specific to this function definition. |
AttrValue | getAttrOrDefault (מפתח מחרוזת, AttrValue defaultValue) Attributes specific to this function definition. |
AttrValue | getAttrOrThrow (מפתח מחרוזת) Attributes specific to this function definition. |
מפה<String, String> | getControlRet () השתמש ב- 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. |
מפה<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. |
חוּט | getControlRetOrDefault (מפתח מחרוזת, מחרוזת defaultValue) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
חוּט | getControlRetOrThrow (מפתח מחרוזת) 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 | |
מפה<Integer, FunctionDef.ArgAttrs > | getMutableArgAttr () השתמש במקום זאת באביזרי מוטציה חלופיים. |
מפה<String, AttrValue > | getMutableAttr () השתמש במקום זאת באביזרי מוטציה חלופיים. |
מפה<String, String> | getMutableControlRet () השתמש במקום זאת באביזרי מוטציה חלופיים. |
מפה<Integer, Integer> | getMutableResourceArgUniqueId () השתמש במקום זאת באביזרי מוטציה חלופיים. |
מפה<String, String> | getMutableRet () השתמש במקום זאת באביזרי מוטציה חלופיים. |
NodeDef | getNodeDef (int index) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
NodeDef.Builder | getNodeDefBuilder (int index) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
רשימה< 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. |
רשימה< NodeDef > | getNodeDefList () By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
NodeDefOrBuilder | getNodeDefOrBuilder (int index) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
רשימה<? מרחיב את NodeDefOrBuilder > | getNodeDefOrBuilderList () By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
מפה<Integer, Integer> | getResourceArgUniqueId () השתמש ב- getResourceArgUniqueIdMap() במקום זאת. |
int | getResourceArgUniqueIdCount () Unique IDs for each resource argument, used to track aliasing resources. |
מפה<Integer, Integer> | getResourceArgUniqueIdMap () Unique IDs for each resource argument, used to track aliasing resources. |
int | getResourceArgUniqueIdOrDefault (מפתח int, int defaultValue) Unique IDs for each resource argument, used to track aliasing resources. |
int | getResourceArgUniqueIdOrThrow (מפתח int) Unique IDs for each resource argument, used to track aliasing resources. |
מפה<String, String> | getRet () השתמש ב- 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. |
מפה<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. |
חוּט | getRetOrDefault (מפתח מחרוזת, מחרוזת defaultValue) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
חוּט | getRetOrThrow (מפתח מחרוזת) 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. |
בוליאני | hasSignature () The definition of the function's name, arguments, return values, attrs etc. |
בוליאנית סופית | |
FunctionDef.Builder | mergeFrom (com.google.protobuf.Message אחר) |
FunctionDef.Builder | mergeFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
FunctionDef.Builder | mergeSignature (ערך 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 (Map<Integer, FunctionDef.ArgAttrs > ערכים) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
FunctionDef.Builder | |
FunctionDef.Builder | putAllControlRet (ערכי מפה<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 (ערכי מפה<Integer, Integer>) Unique IDs for each resource argument, used to track aliasing resources. |
FunctionDef.Builder | putAllRet (ערכי מפה<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 (מפתח int, ערך FunctionDef.ArgAttrs ) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
FunctionDef.Builder | |
FunctionDef.Builder | putControlRet (מפתח מחרוזת, ערך מחרוזת) 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 (מפתח int, ערך int) Unique IDs for each resource argument, used to track aliasing resources. |
FunctionDef.Builder | putRet (מפתח מחרוזת, ערך מחרוזת) 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 (מפתח int) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
FunctionDef.Builder | removeAttr (מפתח מחרוזת) Attributes specific to this function definition. |
FunctionDef.Builder | removeControlRet (מפתח מחרוזת) 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 (int index) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | removeResourceArgUniqueId (מפתח int) Unique IDs for each resource argument, used to track aliasing resources. |
FunctionDef.Builder | removeRet (מפתח מחרוזת) 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 (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט) |
FunctionDef.Builder | setNodeDef (int index, NodeDef.Builder builderForValue) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | setNodeDef (int index, ערך NodeDef ) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | setRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, אינדקס אינט, ערך אובייקט) |
FunctionDef.Builder | setSignature (ערך 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) |
שיטות בירושה
שיטות ציבוריות
public FunctionDef.Builder addAllNodeDef (Iterable<? מרחיב את 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 )
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 (int index, ערך 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 (int index)
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 (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט)
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;
בוליאני ציבורי מכילArgAttr (מפתח int)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
boolean public containsAttr (מפתח מחרוזת)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
בוליאני ציבורי מכילControlRet (מפתח מחרוזת)
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)
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;
בוליאני ציבורי מכילRet (מפתח מחרוזת)
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;
מפה ציבורית<Integer, FunctionDef.ArgAttrs > getArgAttrMap ()
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public FunctionDef.ArgAttrs getArgAttrOrDefault (מפתח int, FunctionDef.ArgAttrs defaultValue)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public FunctionDef.ArgAttrs getArgAttrOrThrow (מפתח int)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public int getAttrCount ()
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
מפה ציבורית<String, AttrValue > getAttrMap ()
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
public AttrValue getAttrOrDefault (מפתח מחרוזת, AttrValue defaultValue)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
public AttrValue getAttrOrThrow (מפתח מחרוזת)
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;
מפה ציבורית<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;
מחרוזת ציבורית getControlRetOrDefault (מפתח מחרוזת, מחרוזת 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;
מחרוזת ציבורית getControlRetOrThrow (מפתח מחרוזת)
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 ()
מפה ציבורית<Integer, FunctionDef.ArgAttrs > getMutableArgAttr ()
השתמש במקום זאת באביזרי מוטציה חלופיים.
מפה ציבורית<String, String> getMutableControlRet ()
השתמש במקום זאת באביזרי מוטציה חלופיים.
מפה ציבורית<Integer, Integer> getMutableResourceArgUniqueId ()
השתמש במקום זאת באביזרי מוטציה חלופיים.
מפה ציבורית<String, String> getMutableRet ()
השתמש במקום זאת באביזרי מוטציה חלופיים.
public NodeDef getNodeDef (אינדקס 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 (אינדקס 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;
רשימה ציבורית< 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;
רשימה ציבורית< 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 (אינדקס אינט)
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;
רשימה ציבורית<? מרחיב את 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;
מפה ציבורית<Integer, Integer> getResourceArgUniqueId ()
השתמש ב- 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;
מפה ציבורית<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, 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)
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;
מפה ציבורית<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;
מחרוזת ציבורית getRetOrDefault (מפתח מחרוזת, מחרוזת 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;
מחרוזת ציבורית getRetOrThrow (מפתח מחרוזת)
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;
יש חתימה בולינית ציבורית ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
בוליאני הסופי הציבורי הוא אתחול ()
public FunctionDef.Builder mergeFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
IOException |
---|
public FunctionDef.Builder mergeSignature (ערך 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 (מפה<Integer, FunctionDef.ArgAttrs > ערכים)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public FunctionDef.Builder putAllAttr (מפה<String, AttrValue > ערכים)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
public FunctionDef.Builder putAllControlRet (ערכי מפה<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 (ערכי מפה<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 (ערכי מפה<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 (מפתח int, ערך FunctionDef.ArgAttrs )
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public FunctionDef.Builder putAttr (מפתח מחרוזת, ערך AttrValue )
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
public FunctionDef.Builder putControlRet (מפתח מחרוזת, ערך מחרוזת)
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 (מפתח int, ערך 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 (מפתח מחרוזת, ערך מחרוזת)
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 (מפתח int)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public FunctionDef.Builder removeAttr (מפתח מחרוזת)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
public FunctionDef.Builder removeControlRet (מפתח מחרוזת)
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 (int index)
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 (מפתח 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 (מפתח מחרוזת)
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 (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט)
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 (int index, 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 (שדה com.google.protobuf.Descriptors.FieldDescriptor, אינדקס int, ערך אובייקט)
public FunctionDef.Builder setSignature (ערך 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;