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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsArgAttr(int key)map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;booleancontainsAttr(java.lang.String key)Attributes specific to this function definition.booleancontainsControlRet(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.booleancontainsRet(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.intgetArgAttrCount()map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;java.util.Map<java.lang.Integer,FunctionDef.ArgAttrs>getArgAttrMap()map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;FunctionDef.ArgAttrsgetArgAttrOrDefault(int key, FunctionDef.ArgAttrs defaultValue)map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;FunctionDef.ArgAttrsgetArgAttrOrThrow(int key)map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;java.util.Map<java.lang.String,AttrValue>getAttr()Deprecated.intgetAttrCount()Attributes specific to this function definition.java.util.Map<java.lang.String,AttrValue>getAttrMap()Attributes specific to this function definition.AttrValuegetAttrOrDefault(java.lang.String key, AttrValue defaultValue)Attributes specific to this function definition.AttrValuegetAttrOrThrow(java.lang.String key)Attributes specific to this function definition.java.util.Map<java.lang.String,java.lang.String>getControlRet()Deprecated.intgetControlRetCount()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.StringgetControlRetOrDefault(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.StringgetControlRetOrThrow(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.NodeDefgetNodeDef(int index)By convention, "op" in node_def is resolved by consulting with a user-defined library first.intgetNodeDefCount()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.NodeDefOrBuildergetNodeDefOrBuilder(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.String,java.lang.String>getRet()Deprecated.intgetRetCount()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.StringgetRetOrDefault(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.StringgetRetOrThrow(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.OpDefgetSignature()The definition of the function's name, arguments, return values, attrs etc.OpDefOrBuildergetSignatureOrBuilder()The definition of the function's name, arguments, return values, attrs etc.booleanhasSignature()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.
.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
boolean containsAttr(java.lang.String key)
Attributes specific to this function definition.
map<string, .tensorflow.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, .tensorflow.AttrValue> attr = 5;
-
getAttrOrDefault
AttrValue getAttrOrDefault(java.lang.String key, AttrValue defaultValue)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
-
getAttrOrThrow
AttrValue getAttrOrThrow(java.lang.String key)
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 java.util.Map<java.lang.Integer,FunctionDef.ArgAttrs> getArgAttr()
Deprecated.UsegetArgAttrMap()instead.
-
getArgAttrMap
java.util.Map<java.lang.Integer,FunctionDef.ArgAttrs> getArgAttrMap()
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
-
getArgAttrOrDefault
FunctionDef.ArgAttrs getArgAttrOrDefault(int key, FunctionDef.ArgAttrs defaultValue)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
-
getArgAttrOrThrow
FunctionDef.ArgAttrs getArgAttrOrThrow(int key)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
-
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 .tensorflow.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 .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
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 .tensorflow.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 .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
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;
-
-