FunctionDefOrBuilder

public interface FunctionDefOrBuilder
Known Indirect Subclasses

Public Methods

abstract boolean
containsArgAttr (int key)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
abstract boolean
containsAttr (String key)
 Attributes specific to this function definition.
abstract boolean
containsControlRet (String key)
 A mapping from control output names from `signature` to node names in
 `node_def` which should be control outputs of this function.
abstract boolean
containsResourceArgUniqueId (int key)
 Unique IDs for each resource argument, used to track aliasing resources.
abstract boolean
containsRet (String key)
 A mapping from the output arg names from `signature` to the
 outputs from `node_def` that should be returned by the function.
abstract Map<Integer, FunctionDef.ArgAttrs >
abstract int
getArgAttrCount ()
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
abstract Map<Integer, FunctionDef.ArgAttrs >
getArgAttrMap ()
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
abstract FunctionDef.ArgAttrs
getArgAttrOrDefault (int key, FunctionDef.ArgAttrs defaultValue)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
abstract FunctionDef.ArgAttrs
getArgAttrOrThrow (int key)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
abstract Map<String, AttrValue >
abstract int
getAttrCount ()
 Attributes specific to this function definition.
abstract Map<String, AttrValue >
getAttrMap ()
 Attributes specific to this function definition.
abstract AttrValue
getAttrOrDefault (String key, AttrValue defaultValue)
 Attributes specific to this function definition.
abstract AttrValue
getAttrOrThrow (String key)
 Attributes specific to this function definition.
abstract Map<String, String>
abstract int
getControlRetCount ()
 A mapping from control output names from `signature` to node names in
 `node_def` which should be control outputs of this function.
abstract 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.
abstract String
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.
abstract String
getControlRetOrThrow (String key)
 A mapping from control output names from `signature` to node names in
 `node_def` which should be control outputs of this function.
abstract NodeDef
getNodeDef (int index)
 By convention, "op" in node_def is resolved by consulting with a
 user-defined library first.
abstract int
getNodeDefCount ()
 By convention, "op" in node_def is resolved by consulting with a
 user-defined library first.
abstract List< NodeDef >
getNodeDefList ()
 By convention, "op" in node_def is resolved by consulting with a
 user-defined library first.
abstract NodeDefOrBuilder
getNodeDefOrBuilder (int index)
 By convention, "op" in node_def is resolved by consulting with a
 user-defined library first.
abstract List<? extends NodeDefOrBuilder >
getNodeDefOrBuilderList ()
 By convention, "op" in node_def is resolved by consulting with a
 user-defined library first.
abstract Map<Integer, Integer>
abstract int
getResourceArgUniqueIdCount ()
 Unique IDs for each resource argument, used to track aliasing resources.
abstract Map<Integer, Integer>
getResourceArgUniqueIdMap ()
 Unique IDs for each resource argument, used to track aliasing resources.
abstract int
getResourceArgUniqueIdOrDefault (int key, int defaultValue)
 Unique IDs for each resource argument, used to track aliasing resources.
abstract int
getResourceArgUniqueIdOrThrow (int key)
 Unique IDs for each resource argument, used to track aliasing resources.
abstract Map<String, String>
getRet ()
Use getRetMap() instead.
abstract int
getRetCount ()
 A mapping from the output arg names from `signature` to the
 outputs from `node_def` that should be returned by the function.
abstract 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.
abstract String
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.
abstract String
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.
abstract OpDef
getSignature ()
 The definition of the function's name, arguments, return values,
 attrs etc.
abstract OpDefOrBuilder
getSignatureOrBuilder ()
 The definition of the function's name, arguments, return values,
 attrs etc.
abstract boolean
hasSignature ()
 The definition of the function's name, arguments, return values,
 attrs etc.

Public Methods

public abstract boolean containsArgAttr (int key)

map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;

public abstract boolean containsAttr (String key)

 Attributes specific to this function definition.
 
map<string, .tensorflow.AttrValue> attr = 5;

public abstract boolean containsControlRet (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;

public abstract 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;

public abstract boolean containsRet (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;

public abstract Map<Integer, FunctionDef.ArgAttrs > getArgAttr ()

Use getArgAttrMap() instead.

public abstract int getArgAttrCount ()

map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;

public abstract Map<Integer, FunctionDef.ArgAttrs > getArgAttrMap ()

map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;

public abstract FunctionDef.ArgAttrs getArgAttrOrDefault (int key, FunctionDef.ArgAttrs defaultValue)

map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;

public abstract FunctionDef.ArgAttrs getArgAttrOrThrow (int key)

map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;

public abstract Map<String, AttrValue > getAttr ()

Use getAttrMap() instead.

public abstract int getAttrCount ()

 Attributes specific to this function definition.
 
map<string, .tensorflow.AttrValue> attr = 5;

public abstract Map<String, AttrValue > getAttrMap ()

 Attributes specific to this function definition.
 
map<string, .tensorflow.AttrValue> attr = 5;

public abstract AttrValue getAttrOrDefault (String key, AttrValue defaultValue)

 Attributes specific to this function definition.
 
map<string, .tensorflow.AttrValue> attr = 5;

public abstract AttrValue getAttrOrThrow (String key)

 Attributes specific to this function definition.
 
map<string, .tensorflow.AttrValue> attr = 5;

public abstract Map<String, String> getControlRet ()

public abstract 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 abstract 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;

public abstract String 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.
 
map<string, string> control_ret = 6;

public abstract String getControlRetOrThrow (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;

public abstract 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;

public abstract 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;

public abstract 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;

public abstract 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;

public abstract 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;

public abstract Map<Integer, Integer>