Package org.tensorflow.framework
Interface FunctionDefOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FunctionDef,FunctionDef.Builder
public interface FunctionDefOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsArgAttr(int key) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;booleancontainsAttr(String key) Attributes specific to this function definition.booleancontainsControlRet(String key) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.booleancontainsResourceArgUniqueId(int key) Unique IDs for each resource argument, used to track aliasing resources.booleancontainsRet(String key) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.Deprecated.intmap<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;getArgAttrOrDefault(int key, FunctionDef.ArgAttrs defaultValue) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;getArgAttrOrThrow(int key) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;getAttr()Deprecated.intAttributes specific to this function definition.Attributes specific to this function definition.getAttrOrDefault(String key, AttrValue defaultValue) Attributes specific to this function definition.getAttrOrThrow(String key) Attributes specific to this function definition.Deprecated.intA mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.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.A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.getNodeDef(int index) By convention, "op" in node_def is resolved by consulting with a user-defined library first.intBy convention, "op" in node_def is resolved by consulting with a user-defined library first.By convention, "op" in node_def is resolved by consulting with a user-defined library first.getNodeDefOrBuilder(int index) By convention, "op" in node_def is resolved by consulting with a user-defined library first.List<? extends NodeDefOrBuilder> By convention, "op" in node_def is resolved by consulting with a user-defined library first.Deprecated.intUnique IDs for each resource argument, used to track aliasing resources.Unique IDs for each resource argument, used to track aliasing resources.intgetResourceArgUniqueIdOrDefault(int key, int defaultValue) Unique IDs for each resource argument, used to track aliasing resources.intgetResourceArgUniqueIdOrThrow(int key) Unique IDs for each resource argument, used to track aliasing resources.getRet()Deprecated.intA mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.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.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.The definition of the function's name, arguments, return values, attrs etc.The definition of the function's name, arguments, return values, attrs etc.booleanThe definition of the function's name, arguments, return values, attrs etc.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasSignature
boolean hasSignature()The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;- Returns:
- Whether the signature field is set.
-
getSignature
OpDef getSignature()The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;- Returns:
- The signature.
-
getSignatureOrBuilder
OpDefOrBuilder getSignatureOrBuilder()The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1; -
getAttrCount
int getAttrCount()Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5; -
containsAttr
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5; -
getAttr
Deprecated.UsegetAttrMap()instead. -
getAttrMap
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5; -
getAttrOrDefault
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5; -
getAttrOrThrow
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5; -
getArgAttrCount
int getArgAttrCount()map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; -
containsArgAttr
boolean containsArgAttr(int key) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; -
getArgAttr
Deprecated.UsegetArgAttrMap()instead. -
getArgAttrMap
Map<Integer,FunctionDef.ArgAttrs> getArgAttrMap()map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; -
getArgAttrOrDefault
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; -
getArgAttrOrThrow
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; -
getResourceArgUniqueIdCount
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; -
containsResourceArgUniqueId
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; -
getResourceArgUniqueId
Deprecated.UsegetResourceArgUniqueIdMap()instead. -
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; -
getResourceArgUniqueIdOrDefault
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; -
getResourceArgUniqueIdOrThrow
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; -
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; -
getNodeDef
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; -
getNodeDefCount
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; -
getNodeDefOrBuilderList
List<? extends 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; -
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; -
getRetCount
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; -
containsRet
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; -
getRet
Deprecated.UsegetRetMap()instead. -
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
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; -
getControlRetCount
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; -
containsControlRet
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; -
getControlRet
Deprecated.UsegetControlRetMap()instead. -
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
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;
-