Class FunctionDef.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<FunctionDef.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.Builder>
org.tensorflow.proto.FunctionDef.Builder
- All Implemented Interfaces:
Message.Builder, MessageLite.Builder, MessageLiteOrBuilder, MessageOrBuilder, Cloneable, FunctionDefOrBuilder
- Enclosing class:
FunctionDef
public static final class FunctionDef.Builder
extends GeneratedMessageV3.Builder<FunctionDef.Builder>
implements FunctionDefOrBuilder
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.Protobuf type
tensorflow.FunctionDef-
Method Summary
Modifier and TypeMethodDescriptionaddAllNodeDef(Iterable<? extends NodeDef> values) By convention, "op" in node_def is resolved by consulting with a user-defined library first.addNodeDef(int index, NodeDef value) By convention, "op" in node_def is resolved by consulting with a user-defined library first.addNodeDef(int index, NodeDef.Builder builderForValue) By convention, "op" in node_def is resolved by consulting with a user-defined library first.addNodeDef(NodeDef value) By convention, "op" in node_def is resolved by consulting with a user-defined library first.addNodeDef(NodeDef.Builder builderForValue) By 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.addNodeDefBuilder(int index) By convention, "op" in node_def is resolved by consulting with a user-defined library first.addRepeatedField(Descriptors.FieldDescriptor field, Object value) build()clear()By convention, "op" in node_def is resolved by consulting with a user-defined library first.clearRet()The definition of the function's name, arguments, return values, attrs etc.clone()booleancontainsArgAttr(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.static final Descriptors.DescriptorDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.getNodeDef(int index) By convention, "op" in node_def is resolved by consulting with a user-defined library first.getNodeDefBuilder(int index) By 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.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.The definition of the function's name, arguments, return values, attrs etc.booleanThe definition of the function's name, arguments, return values, attrs etc.protected GeneratedMessageV3.FieldAccessorTableprotected MapFieldinternalGetMapField(int number) protected MapFieldinternalGetMutableMapField(int number) final booleanmergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeFrom(FunctionDef other) mergeSignature(OpDef value) The definition of the function's name, arguments, return values, attrs etc.final FunctionDef.BuildermergeUnknownFields(UnknownFieldSet unknownFields) putAllArgAttr(Map<Integer, FunctionDef.ArgAttrs> values) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;putAllAttr(Map<String, AttrValue> values) Attributes specific to this function definition.putAllControlRet(Map<String, String> values) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.putAllResourceArgUniqueId(Map<Integer, Integer> values) Unique IDs for each resource argument, used to track aliasing resources.A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.putArgAttr(int key, FunctionDef.ArgAttrs value) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;Attributes specific to this function definition.putControlRet(String key, String value) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.putResourceArgUniqueId(int key, int value) Unique IDs for each resource argument, used to track aliasing resources.A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.removeArgAttr(int key) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;removeAttr(String key) Attributes specific to this function definition.removeControlRet(String key) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.removeNodeDef(int index) By convention, "op" in node_def is resolved by consulting with a user-defined library first.removeResourceArgUniqueId(int key) Unique IDs for each resource argument, used to track aliasing resources.A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.setField(Descriptors.FieldDescriptor field, Object value) setNodeDef(int index, NodeDef value) By convention, "op" in node_def is resolved by consulting with a user-defined library first.setNodeDef(int index, NodeDef.Builder builderForValue) By convention, "op" in node_def is resolved by consulting with a user-defined library first.setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) setSignature(OpDef value) The definition of the function's name, arguments, return values, attrs etc.setSignature(OpDef.Builder builderForValue) The definition of the function's name, arguments, return values, attrs etc.final FunctionDef.BuildersetUnknownFields(UnknownFieldSet unknownFields) Methods inherited from class GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface MessageLite.Builder
mergeFromMethods inherited from interface MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
-
internalGetMapField
- Overrides:
internalGetMapFieldin classGeneratedMessageV3.Builder<FunctionDef.Builder>
-
internalGetMutableMapField
- Overrides:
internalGetMutableMapFieldin classGeneratedMessageV3.Builder<FunctionDef.Builder>
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3.Builder<FunctionDef.Builder>
-
clear
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<FunctionDef.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<FunctionDef.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
clone
- Specified by:
clonein interfaceMessage.Builder- Specified by:
clonein interfaceMessageLite.Builder- Overrides:
clonein classGeneratedMessageV3.Builder<FunctionDef.Builder>
-
setField
- Specified by:
setFieldin interfaceMessage.Builder- Overrides:
setFieldin classGeneratedMessageV3.Builder<FunctionDef.Builder>
-
clearField
- Specified by:
clearFieldin interfaceMessage.Builder- Overrides:
clearFieldin classGeneratedMessageV3.Builder<FunctionDef.Builder>
-
clearOneof
- Specified by:
clearOneofin interfaceMessage.Builder- Overrides:
clearOneofin classGeneratedMessageV3.Builder<FunctionDef.Builder>
-
setRepeatedField
public FunctionDef.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfaceMessage.Builder- Overrides:
setRepeatedFieldin classGeneratedMessageV3.Builder<FunctionDef.Builder>
-
addRepeatedField
- Specified by:
addRepeatedFieldin interfaceMessage.Builder- Overrides:
addRepeatedFieldin classGeneratedMessageV3.Builder<FunctionDef.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<FunctionDef.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3.Builder<FunctionDef.Builder>
-
mergeFrom
public FunctionDef.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<FunctionDef.Builder>- Throws:
IOException
-
hasSignature
public boolean hasSignature()The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;- Specified by:
hasSignaturein interfaceFunctionDefOrBuilder- Returns:
- Whether the signature field is set.
-
getSignature
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;- Specified by:
getSignaturein interfaceFunctionDefOrBuilder- Returns:
- The signature.
-
setSignature
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1; -
setSignature
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1; -
mergeSignature
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1; -
clearSignature
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1; -
getSignatureBuilder
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1; -
getSignatureOrBuilder
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;- Specified by:
getSignatureOrBuilderin interfaceFunctionDefOrBuilder
-
getAttrCount
public int getAttrCount()Description copied from interface:FunctionDefOrBuilderAttributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;- Specified by:
getAttrCountin interfaceFunctionDefOrBuilder
-
containsAttr
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;- Specified by:
containsAttrin interfaceFunctionDefOrBuilder
-
getAttr
-
getAttrMap
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;- Specified by:
getAttrMapin interfaceFunctionDefOrBuilder
-
getAttrOrDefault
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;- Specified by:
getAttrOrDefaultin interfaceFunctionDefOrBuilder
-
getAttrOrThrow
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;- Specified by:
getAttrOrThrowin interfaceFunctionDefOrBuilder
-
clearAttr
-
removeAttr
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5; -
getMutableAttr
Deprecated.Use alternate mutation accessors instead. -
putAttr
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5; -
putAllAttr
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5; -
getArgAttrCount
public int getArgAttrCount()Description copied from interface:FunctionDefOrBuildermap<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;- Specified by:
getArgAttrCountin interfaceFunctionDefOrBuilder
-
containsArgAttr
public boolean containsArgAttr(int key) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;- Specified by:
containsArgAttrin interfaceFunctionDefOrBuilder
-
getArgAttr
-
getArgAttrMap
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;- Specified by:
getArgAttrMapin interfaceFunctionDefOrBuilder
-
getArgAttrOrDefault
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;- Specified by:
getArgAttrOrDefaultin interfaceFunctionDefOrBuilder
-
getArgAttrOrThrow
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;- Specified by:
getArgAttrOrThrowin interfaceFunctionDefOrBuilder
-
clearArgAttr
-
removeArgAttr
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; -
getMutableArgAttr
Deprecated.Use alternate mutation accessors instead. -
putArgAttr
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; -
putAllArgAttr
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; -
getResourceArgUniqueIdCount
public int getResourceArgUniqueIdCount()Description copied from interface:FunctionDefOrBuilderUnique 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;- Specified by:
getResourceArgUniqueIdCountin interfaceFunctionDefOrBuilder
-
containsResourceArgUniqueId
public 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;- Specified by:
containsResourceArgUniqueIdin interfaceFunctionDefOrBuilder
-
getResourceArgUniqueId
Deprecated.UsegetResourceArgUniqueIdMap()instead.- Specified by:
getResourceArgUniqueIdin interfaceFunctionDefOrBuilder
-
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;- Specified by:
getResourceArgUniqueIdMapin interfaceFunctionDefOrBuilder
-
getResourceArgUniqueIdOrDefault
public 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;- Specified by:
getResourceArgUniqueIdOrDefaultin interfaceFunctionDefOrBuilder
-
getResourceArgUniqueIdOrThrow
public 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;- Specified by:
getResourceArgUniqueIdOrThrowin interfaceFunctionDefOrBuilder
-
clearResourceArgUniqueId
-
removeResourceArgUniqueId
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; -
getMutableResourceArgUniqueId
Deprecated.Use alternate mutation accessors instead. -
putResourceArgUniqueId
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; -
putAllResourceArgUniqueId
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;- Specified by:
getNodeDefListin interfaceFunctionDefOrBuilder
-
getNodeDefCount
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;- Specified by:
getNodeDefCountin interfaceFunctionDefOrBuilder
-
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;- Specified by:
getNodeDefin interfaceFunctionDefOrBuilder
-
setNodeDef
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; -
setNodeDef
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; -
addNodeDef
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; -
addNodeDef
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; -
addNodeDef
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; -
addNodeDef
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; -
addAllNodeDef
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; -
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; -
removeNodeDef
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; -
getNodeDefBuilder
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;- Specified by:
getNodeDefOrBuilderin interfaceFunctionDefOrBuilder
-
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;- Specified by:
getNodeDefOrBuilderListin interfaceFunctionDefOrBuilder
-
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; -
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; -
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; -
getRetCount
public int getRetCount()Description copied from interface:FunctionDefOrBuilderA 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;- Specified by:
getRetCountin interfaceFunctionDefOrBuilder
-
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;- Specified by:
containsRetin interfaceFunctionDefOrBuilder
-
getRet
-
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;- Specified by:
getRetMapin interfaceFunctionDefOrBuilder
-
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;- Specified by:
getRetOrDefaultin interfaceFunctionDefOrBuilder
-
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;- Specified by:
getRetOrThrowin interfaceFunctionDefOrBuilder
-
clearRet
-
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; -
getMutableRet
Deprecated.Use alternate mutation accessors instead. -
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; -
putAllRet
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
public int getControlRetCount()Description copied from interface:FunctionDefOrBuilderA 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;- Specified by:
getControlRetCountin interfaceFunctionDefOrBuilder
-
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;- Specified by:
containsControlRetin interfaceFunctionDefOrBuilder
-
getControlRet
Deprecated.UsegetControlRetMap()instead.- Specified by:
getControlRetin interfaceFunctionDefOrBuilder
-
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;- Specified by:
getControlRetMapin interfaceFunctionDefOrBuilder
-
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;- Specified by:
getControlRetOrDefaultin interfaceFunctionDefOrBuilder
-
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;- Specified by:
getControlRetOrThrowin interfaceFunctionDefOrBuilder
-
clearControlRet
-
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; -
getMutableControlRet
Deprecated.Use alternate mutation accessors instead. -
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; -
putAllControlRet
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; -
setUnknownFields
- Specified by:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<FunctionDef.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfaceMessage.Builder- Overrides:
mergeUnknownFieldsin classGeneratedMessageV3.Builder<FunctionDef.Builder>
-