Package org.tensorflow.framework
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.framework.FunctionDef.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,FunctionDefOrBuilder
- Enclosing class:
FunctionDef
public static final class FunctionDef.Builder
extends com.google.protobuf.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(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) By convention, "op" in node_def is resolved by consulting with a user-defined library first.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) 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 com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.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 com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(FunctionDef other) mergeSignature(OpDef value) The definition of the function's name, arguments, return values, attrs etc.final FunctionDef.BuildermergeUnknownFields(com.google.protobuf.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;putArgAttrBuilderIfAbsent(int key) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;Attributes specific to this function definition.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.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(com.google.protobuf.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(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.Builder>
-
setField
public FunctionDef.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.Builder>
-
setRepeatedField
public FunctionDef.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.Builder>
-
addRepeatedField
public FunctionDef.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FunctionDef.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.Builder>
-
mergeFrom
public FunctionDef.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.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
Deprecated.UsegetAttrMap()instead.- Specified by:
getAttrin interfaceFunctionDefOrBuilder
-
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; -
putAttrBuilderIfAbsent
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
Deprecated.UsegetArgAttrMap()instead.- Specified by:
getArgAttrin interfaceFunctionDefOrBuilder
-
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; -
putArgAttrBuilderIfAbsent
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
Deprecated.UsegetRetMap()instead.- Specified by:
getRetin interfaceFunctionDefOrBuilder
-
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
public final FunctionDef.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.Builder>
-
mergeUnknownFields
public final FunctionDef.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.Builder>
-