Package org.platanios.tensorflow.proto
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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsArgAttr(int key)
map<uint32, .org.platanios.tensorflow.proto.FunctionDef.ArgAttrs> arg_attr = 7;
boolean
containsAttr(java.lang.String key)
Attributes specific to this function definition.boolean
containsControlRet(java.lang.String key)
A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.boolean
containsResourceArgUniqueId(int key)
Unique IDs for each resource argument, used to track aliasing resources.boolean
containsRet(java.lang.String key)
A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.java.util.Map<java.lang.Integer,FunctionDef.ArgAttrs>
getArgAttr()
Deprecated.int
getArgAttrCount()
map<uint32, .org.platanios.tensorflow.proto.FunctionDef.ArgAttrs> arg_attr = 7;
java.util.Map<java.lang.Integer,FunctionDef.ArgAttrs>
getArgAttrMap()
map<uint32, .org.platanios.tensorflow.proto.FunctionDef.ArgAttrs> arg_attr = 7;
FunctionDef.ArgAttrs
getArgAttrOrDefault(int key, FunctionDef.ArgAttrs defaultValue)
map<uint32, .org.platanios.tensorflow.proto.FunctionDef.ArgAttrs> arg_attr = 7;
FunctionDef.ArgAttrs
getArgAttrOrThrow(int key)
map<uint32, .org.platanios.tensorflow.proto.FunctionDef.ArgAttrs> arg_attr = 7;
java.util.Map<java.lang.String,AttrValue>
getAttr()
Deprecated.int
getAttrCount()
Attributes specific to this function definition.java.util.Map<java.lang.String,AttrValue>
getAttrMap()
Attributes specific to this function definition.AttrValue
getAttrOrDefault(java.lang.String key, AttrValue defaultValue)
Attributes specific to this function definition.AttrValue
getAttrOrThrow(java.lang.String key)
Attributes specific to this function definition.java.util.Map<java.lang.String,java.lang.String>
getControlRet()
Deprecated.int
getControlRetCount()
A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.java.util.Map<java.lang.String,java.lang.String>
getControlRetMap()
A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.java.lang.String
getControlRetOrDefault(java.lang.String key, java.lang.String defaultValue)
A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.java.lang.String
getControlRetOrThrow(java.lang.String key)
A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.NodeDef
getNodeDef(int index)
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.java.util.List<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.java.util.List<? extends NodeDefOrBuilder>
getNodeDefOrBuilderList()
By convention, "op" in node_def is resolved by consulting with a user-defined library first.java.util.Map<java.lang.Integer,java.lang.Integer>
getResourceArgUniqueId()
Deprecated.int
getResourceArgUniqueIdCount()
Unique IDs for each resource argument, used to track aliasing resources.java.util.Map<java.lang.Integer,java.lang.Integer>
getResourceArgUniqueIdMap()
Unique IDs for each resource argument, used to track aliasing resources.int
getResourceArgUniqueIdOrDefault(int key, int defaultValue)
Unique IDs for each resource argument, used to track aliasing resources.int
getResourceArgUniqueIdOrThrow(int key)
Unique IDs for each resource argument, used to track aliasing resources.java.util.Map<java.lang.String,java.lang.String>
getRet()
Deprecated.int
getRetCount()
A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.java.util.Map<java.lang.String,java.lang.String>
getRetMap()
A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.java.lang.String
getRetOrDefault(java.lang.String key, java.lang.String defaultValue)
A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.java.lang.String
getRetOrThrow(java.lang.String key)
A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.OpDef
getSignature()
The definition of the function's name, arguments, return values, attrs etc.OpDefOrBuilder
getSignatureOrBuilder()
The definition of the function's name, arguments, return values, attrs etc.boolean
hasSignature()
The definition of the function's name, arguments, return values, attrs etc.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasSignature
boolean hasSignature()
The definition of the function's name, arguments, return values, attrs etc.
.org.platanios.tensorflow.proto.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.
.org.platanios.tensorflow.proto.OpDef signature = 1;
- Returns:
- The signature.
-
getSignatureOrBuilder
OpDefOrBuilder getSignatureOrBuilder()
The definition of the function's name, arguments, return values, attrs etc.
.org.platanios.tensorflow.proto.OpDef signature = 1;
-
getAttrCount
int getAttrCount()
Attributes specific to this function definition.
map<string, .org.platanios.tensorflow.proto.AttrValue> attr = 5;
-
containsAttr
boolean containsAttr(java.lang.String key)
Attributes specific to this function definition.
map<string, .org.platanios.tensorflow.proto.AttrValue> attr = 5;
-
getAttr
@Deprecated java.util.Map<java.lang.String,AttrValue> getAttr()
Deprecated.UsegetAttrMap()
instead.
-
getAttrMap
java.util.Map<java.lang.String,AttrValue> getAttrMap()
Attributes specific to this function definition.
map<string, .org.platanios.tensorflow.proto.AttrValue> attr = 5;
-
getAttrOrDefault
AttrValue getAttrOrDefault(java.lang.String key, AttrValue defaultValue)
Attributes specific to this function definition.
map<string, .org.platanios.tensorflow.proto.AttrValue> attr = 5;
-
getAttrOrThrow
AttrValue getAttrOrThrow(java.lang.String key)
Attributes specific to this function definition.
map<string, .org.platanios.tensorflow.proto.AttrValue> attr = 5;
-
getArgAttrCount
int getArgAttrCount()
map<uint32, .org.platanios.tensorflow.proto.FunctionDef.ArgAttrs> arg_attr = 7;
-
containsArgAttr
boolean containsArgAttr(int key)
map<uint32, .org.platanios.tensorflow.proto.FunctionDef.ArgAttrs> arg_attr = 7;
-
getArgAttr
@Deprecated java.util.Map<java.lang.Integer,FunctionDef.ArgAttrs> getArgAttr()
Deprecated.UsegetArgAttrMap()
instead.
-
getArgAttrMap
java.util.Map<java.lang.Integer,FunctionDef.ArgAttrs> getArgAttrMap()
map<uint32, .org.platanios.tensorflow.proto.FunctionDef.ArgAttrs> arg_attr = 7;
-
getArgAttrOrDefault
FunctionDef.ArgAttrs getArgAttrOrDefault(int key, FunctionDef.ArgAttrs defaultValue)
map<uint32, .org.platanios.tensorflow.proto.FunctionDef.ArgAttrs> arg_attr = 7;
-
getArgAttrOrThrow
FunctionDef.ArgAttrs getArgAttrOrThrow(int key)
map<uint32, .org.platanios.tensorflow.proto.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 java.util.Map<java.lang.Integer,java.lang.Integer> getResourceArgUniqueId()
Deprecated.UsegetResourceArgUniqueIdMap()
instead.
-
getResourceArgUniqueIdMap
java.util.Map<java.lang.Integer,java.lang.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;
-
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
java.util.List<NodeDef> getNodeDefList()
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .org.platanios.tensorflow.proto.NodeDef node_def = 3;
-
getNodeDef
NodeDef getNodeDef(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 .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.NodeDef node_def = 3;
-
getNodeDefOrBuilderList
java.util.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 .org.platanios.tensorflow.proto.NodeDef node_def = 3;
-
getNodeDefOrBuilder
NodeDefOrBuilder getNodeDefOrBuilder(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 .org.platanios.tensorflow.proto.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
boolean containsRet(java.lang.String key)
A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.
map<string, string> ret = 4;
-
getRet
@Deprecated java.util.Map<java.lang.String,java.lang.String> getRet()
Deprecated.UsegetRetMap()
instead.
-
getRetMap
java.util.Map<java.lang.String,java.lang.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
java.lang.String getRetOrDefault(java.lang.String key, java.lang.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;
-
getRetOrThrow
java.lang.String getRetOrThrow(java.lang.String key)
A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.
map<string, string> ret = 4;
-
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
boolean containsControlRet(java.lang.String key)
A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.
map<string, string> control_ret = 6;
-
getControlRet
@Deprecated java.util.Map<java.lang.String,java.lang.String> getControlRet()
Deprecated.UsegetControlRetMap()
instead.
-
getControlRetMap
java.util.Map<java.lang.String,java.lang.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
java.lang.String getControlRetOrDefault(java.lang.String key, java.lang.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;
-
getControlRetOrThrow
java.lang.String getControlRetOrThrow(java.lang.String key)
A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.
map<string, string> control_ret = 6;
-
-