Package org.platanios.tensorflow.proto
Class FunctionDef.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.Builder>
-
- org.platanios.tensorflow.proto.FunctionDef.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.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 typeorg.platanios.tensorflow.proto.FunctionDef
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description FunctionDef.Builder
addAllNodeDef(java.lang.Iterable<? extends NodeDef> values)
By convention, "op" in node_def is resolved by consulting with a user-defined library first.FunctionDef.Builder
addNodeDef(int index, NodeDef value)
By convention, "op" in node_def is resolved by consulting with a user-defined library first.FunctionDef.Builder
addNodeDef(int index, NodeDef.Builder builderForValue)
By convention, "op" in node_def is resolved by consulting with a user-defined library first.FunctionDef.Builder
addNodeDef(NodeDef value)
By convention, "op" in node_def is resolved by consulting with a user-defined library first.FunctionDef.Builder
addNodeDef(NodeDef.Builder builderForValue)
By convention, "op" in node_def is resolved by consulting with a user-defined library first.NodeDef.Builder
addNodeDefBuilder()
By convention, "op" in node_def is resolved by consulting with a user-defined library first.NodeDef.Builder
addNodeDefBuilder(int index)
By convention, "op" in node_def is resolved by consulting with a user-defined library first.FunctionDef.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
FunctionDef
build()
FunctionDef
buildPartial()
FunctionDef.Builder
clear()
FunctionDef.Builder
clearArgAttr()
FunctionDef.Builder
clearAttr()
FunctionDef.Builder
clearControlRet()
FunctionDef.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
FunctionDef.Builder
clearNodeDef()
By convention, "op" in node_def is resolved by consulting with a user-defined library first.FunctionDef.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
FunctionDef.Builder
clearResourceArgUniqueId()
FunctionDef.Builder
clearRet()
FunctionDef.Builder
clearSignature()
The definition of the function's name, arguments, return values, attrs etc.FunctionDef.Builder
clone()
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.FunctionDef
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.util.Map<java.lang.Integer,FunctionDef.ArgAttrs>
getMutableArgAttr()
Deprecated.java.util.Map<java.lang.String,AttrValue>
getMutableAttr()
Deprecated.java.util.Map<java.lang.String,java.lang.String>
getMutableControlRet()
Deprecated.java.util.Map<java.lang.Integer,java.lang.Integer>
getMutableResourceArgUniqueId()
Deprecated.java.util.Map<java.lang.String,java.lang.String>
getMutableRet()
Deprecated.NodeDef
getNodeDef(int index)
By convention, "op" in node_def is resolved by consulting with a user-defined library first.NodeDef.Builder
getNodeDefBuilder(int index)
By convention, "op" in node_def is resolved by consulting with a user-defined library first.java.util.List<NodeDef.Builder>
getNodeDefBuilderList()
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.OpDef.Builder
getSignatureBuilder()
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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
FunctionDef.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
FunctionDef.Builder
mergeFrom(com.google.protobuf.Message other)
FunctionDef.Builder
mergeFrom(FunctionDef other)
FunctionDef.Builder
mergeSignature(OpDef value)
The definition of the function's name, arguments, return values, attrs etc.FunctionDef.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
FunctionDef.Builder
putAllArgAttr(java.util.Map<java.lang.Integer,FunctionDef.ArgAttrs> values)
map<uint32, .org.platanios.tensorflow.proto.FunctionDef.ArgAttrs> arg_attr = 7;
FunctionDef.Builder
putAllAttr(java.util.Map<java.lang.String,AttrValue> values)
Attributes specific to this function definition.FunctionDef.Builder
putAllControlRet(java.util.Map<java.lang.String,java.lang.String> values)
A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.FunctionDef.Builder
putAllResourceArgUniqueId(java.util.Map<java.lang.Integer,java.lang.Integer> values)
Unique IDs for each resource argument, used to track aliasing resources.FunctionDef.Builder
putAllRet(java.util.Map<java.lang.String,java.lang.String> values)
A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.FunctionDef.Builder
putArgAttr(int key, FunctionDef.ArgAttrs value)
map<uint32, .org.platanios.tensorflow.proto.FunctionDef.ArgAttrs> arg_attr = 7;
FunctionDef.Builder
putAttr(java.lang.String key, AttrValue value)
Attributes specific to this function definition.FunctionDef.Builder
putControlRet(java.lang.String key, java.lang.String value)
A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.FunctionDef.Builder
putResourceArgUniqueId(int key, int value)
Unique IDs for each resource argument, used to track aliasing resources.FunctionDef.Builder
putRet(java.lang.String key, java.lang.String value)
A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.FunctionDef.Builder
removeArgAttr(int key)
map<uint32, .org.platanios.tensorflow.proto.FunctionDef.ArgAttrs> arg_attr = 7;
FunctionDef.Builder
removeAttr(java.lang.String key)
Attributes specific to this function definition.FunctionDef.Builder
removeControlRet(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.FunctionDef.Builder
removeNodeDef(int index)
By convention, "op" in node_def is resolved by consulting with a user-defined library first.FunctionDef.Builder
removeResourceArgUniqueId(int key)
Unique IDs for each resource argument, used to track aliasing resources.FunctionDef.Builder
removeRet(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.FunctionDef.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
FunctionDef.Builder
setNodeDef(int index, NodeDef value)
By convention, "op" in node_def is resolved by consulting with a user-defined library first.FunctionDef.Builder
setNodeDef(int index, NodeDef.Builder builderForValue)
By convention, "op" in node_def is resolved by consulting with a user-defined library first.FunctionDef.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
FunctionDef.Builder
setSignature(OpDef value)
The definition of the function's name, arguments, return values, attrs etc.FunctionDef.Builder
setSignature(OpDef.Builder builderForValue)
The definition of the function's name, arguments, return values, attrs etc.FunctionDef.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.Builder>
-
clear
public FunctionDef.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.Builder>
-
getDefaultInstanceForType
public FunctionDef getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public FunctionDef build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public FunctionDef buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public FunctionDef.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.Builder>
-
setField
public FunctionDef.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.Builder>
-
clearField
public FunctionDef.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.Builder>
-
clearOneof
public FunctionDef.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.Builder>
-
setRepeatedField
public FunctionDef.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.Builder>
-
addRepeatedField
public FunctionDef.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.Builder>
-
mergeFrom
public FunctionDef.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<FunctionDef.Builder>
-
mergeFrom
public FunctionDef.Builder mergeFrom(FunctionDef other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.Builder>
-
mergeFrom
public FunctionDef.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<FunctionDef.Builder>
- Throws:
java.io.IOException
-
hasSignature
public boolean hasSignature()
The definition of the function's name, arguments, return values, attrs etc.
.org.platanios.tensorflow.proto.OpDef signature = 1;
- Specified by:
hasSignature
in interfaceFunctionDefOrBuilder
- Returns:
- Whether the signature field is set.
-
getSignature
public OpDef getSignature()
The definition of the function's name, arguments, return values, attrs etc.
.org.platanios.tensorflow.proto.OpDef signature = 1;
- Specified by:
getSignature
in interfaceFunctionDefOrBuilder
- Returns:
- The signature.
-
setSignature
public FunctionDef.Builder setSignature(OpDef value)
The definition of the function's name, arguments, return values, attrs etc.
.org.platanios.tensorflow.proto.OpDef signature = 1;
-
setSignature
public FunctionDef.Builder setSignature(OpDef.Builder builderForValue)
The definition of the function's name, arguments, return values, attrs etc.
.org.platanios.tensorflow.proto.OpDef signature = 1;
-
mergeSignature
public FunctionDef.Builder mergeSignature(OpDef value)
The definition of the function's name, arguments, return values, attrs etc.
.org.platanios.tensorflow.proto.OpDef signature = 1;
-
clearSignature
public FunctionDef.Builder clearSignature()
The definition of the function's name, arguments, return values, attrs etc.
.org.platanios.tensorflow.proto.OpDef signature = 1;
-
getSignatureBuilder
public OpDef.Builder getSignatureBuilder()
The definition of the function's name, arguments, return values, attrs etc.
.org.platanios.tensorflow.proto.OpDef signature = 1;
-
getSignatureOrBuilder
public OpDefOrBuilder getSignatureOrBuilder()
The definition of the function's name, arguments, return values, attrs etc.
.org.platanios.tensorflow.proto.OpDef signature = 1;
- Specified by:
getSignatureOrBuilder
in interfaceFunctionDefOrBuilder
-
getAttrCount
public int getAttrCount()
Description copied from interface:FunctionDefOrBuilder
Attributes specific to this function definition.
map<string, .org.platanios.tensorflow.proto.AttrValue> attr = 5;
- Specified by:
getAttrCount
in interfaceFunctionDefOrBuilder
-
containsAttr
public boolean containsAttr(java.lang.String key)
Attributes specific to this function definition.
map<string, .org.platanios.tensorflow.proto.AttrValue> attr = 5;
- Specified by:
containsAttr
in interfaceFunctionDefOrBuilder
-
getAttr
@Deprecated public java.util.Map<java.lang.String,AttrValue> getAttr()
Deprecated.UsegetAttrMap()
instead.- Specified by:
getAttr
in interfaceFunctionDefOrBuilder
-
getAttrMap
public java.util.Map<java.lang.String,AttrValue> getAttrMap()
Attributes specific to this function definition.
map<string, .org.platanios.tensorflow.proto.AttrValue> attr = 5;
- Specified by:
getAttrMap
in interfaceFunctionDefOrBuilder
-
getAttrOrDefault
public AttrValue getAttrOrDefault(java.lang.String key, AttrValue defaultValue)
Attributes specific to this function definition.
map<string, .org.platanios.tensorflow.proto.AttrValue> attr = 5;
- Specified by:
getAttrOrDefault
in interfaceFunctionDefOrBuilder
-
getAttrOrThrow
public AttrValue getAttrOrThrow(java.lang.String key)
Attributes specific to this function definition.
map<string, .org.platanios.tensorflow.proto.AttrValue> attr = 5;
- Specified by:
getAttrOrThrow
in interfaceFunctionDefOrBuilder
-
clearAttr
public FunctionDef.Builder clearAttr()
-
removeAttr
public FunctionDef.Builder removeAttr(java.lang.String key)
Attributes specific to this function definition.
map<string, .org.platanios.tensorflow.proto.AttrValue> attr = 5;
-
getMutableAttr
@Deprecated public java.util.Map<java.lang.String,AttrValue> getMutableAttr()
Deprecated.Use alternate mutation accessors instead.
-
putAttr
public FunctionDef.Builder putAttr(java.lang.String key, AttrValue value)
Attributes specific to this function definition.
map<string, .org.platanios.tensorflow.proto.AttrValue> attr = 5;
-
putAllAttr
public FunctionDef.Builder putAllAttr(java.util.Map<java.lang.String,AttrValue> values)
Attributes specific to this function definition.
map<string, .org.platanios.tensorflow.proto.AttrValue> attr = 5;
-
getArgAttrCount
public int getArgAttrCount()
Description copied from interface:FunctionDefOrBuilder
map<uint32, .org.platanios.tensorflow.proto.FunctionDef.ArgAttrs> arg_attr = 7;
- Specified by:
getArgAttrCount
in interfaceFunctionDefOrBuilder
-
containsArgAttr
public boolean containsArgAttr(int key)
map<uint32, .org.platanios.tensorflow.proto.FunctionDef.ArgAttrs> arg_attr = 7;
- Specified by:
containsArgAttr
in interfaceFunctionDefOrBuilder
-
getArgAttr
@Deprecated public java.util.Map<java.lang.Integer,FunctionDef.ArgAttrs> getArgAttr()
Deprecated.UsegetArgAttrMap()
instead.- Specified by:
getArgAttr
in interfaceFunctionDefOrBuilder
-
getArgAttrMap
public java.util.Map<java.lang.Integer,FunctionDef.ArgAttrs> getArgAttrMap()
map<uint32, .org.platanios.tensorflow.proto.FunctionDef.ArgAttrs> arg_attr = 7;
- Specified by:
getArgAttrMap
in interfaceFunctionDefOrBuilder
-
getArgAttrOrDefault
public FunctionDef.ArgAttrs getArgAttrOrDefault(int key, FunctionDef.ArgAttrs defaultValue)
map<uint32, .org.platanios.tensorflow.proto.FunctionDef.ArgAttrs> arg_attr = 7;
- Specified by:
getArgAttrOrDefault
in interfaceFunctionDefOrBuilder
-
getArgAttrOrThrow
public FunctionDef.ArgAttrs getArgAttrOrThrow(int key)
map<uint32, .org.platanios.tensorflow.proto.FunctionDef.ArgAttrs> arg_attr = 7;
- Specified by:
getArgAttrOrThrow
in interfaceFunctionDefOrBuilder
-
clearArgAttr
public FunctionDef.Builder clearArgAttr()
-
removeArgAttr
public FunctionDef.Builder removeArgAttr(int key)
map<uint32, .org.platanios.tensorflow.proto.FunctionDef.ArgAttrs> arg_attr = 7;
-
getMutableArgAttr
@Deprecated public java.util.Map<java.lang.Integer,FunctionDef.ArgAttrs> getMutableArgAttr()
Deprecated.Use alternate mutation accessors instead.
-
putArgAttr
public FunctionDef.Builder putArgAttr(int key, FunctionDef.ArgAttrs value)
map<uint32, .org.platanios.tensorflow.proto.FunctionDef.ArgAttrs> arg_attr = 7;
-
putAllArgAttr
public FunctionDef.Builder putAllArgAttr(java.util.Map<java.lang.Integer,FunctionDef.ArgAttrs> values)
map<uint32, .org.platanios.tensorflow.proto.FunctionDef.ArgAttrs> arg_attr = 7;
-
getResourceArgUniqueIdCount
public int getResourceArgUniqueIdCount()
Description copied from interface:FunctionDefOrBuilder
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:
getResourceArgUniqueIdCount
in 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:
containsResourceArgUniqueId
in interfaceFunctionDefOrBuilder
-
getResourceArgUniqueId
@Deprecated public java.util.Map<java.lang.Integer,java.lang.Integer> getResourceArgUniqueId()
Deprecated.UsegetResourceArgUniqueIdMap()
instead.- Specified by:
getResourceArgUniqueId
in interfaceFunctionDefOrBuilder
-
getResourceArgUniqueIdMap
public 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;
- Specified by:
getResourceArgUniqueIdMap
in 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:
getResourceArgUniqueIdOrDefault
in 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:
getResourceArgUniqueIdOrThrow
in interfaceFunctionDefOrBuilder
-
clearResourceArgUniqueId
public FunctionDef.Builder clearResourceArgUniqueId()
-
removeResourceArgUniqueId
public FunctionDef.Builder removeResourceArgUniqueId(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;
-
getMutableResourceArgUniqueId
@Deprecated public java.util.Map<java.lang.Integer,java.lang.Integer> getMutableResourceArgUniqueId()
Deprecated.Use alternate mutation accessors instead.
-
putResourceArgUniqueId
public FunctionDef.Builder putResourceArgUniqueId(int key, int value)
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
public FunctionDef.Builder putAllResourceArgUniqueId(java.util.Map<java.lang.Integer,java.lang.Integer> values)
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
public 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;
- Specified by:
getNodeDefList
in 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 .org.platanios.tensorflow.proto.NodeDef node_def = 3;
- Specified by:
getNodeDefCount
in interfaceFunctionDefOrBuilder
-
getNodeDef
public 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;
- Specified by:
getNodeDef
in interfaceFunctionDefOrBuilder
-
setNodeDef
public FunctionDef.Builder setNodeDef(int index, NodeDef value)
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;
-
setNodeDef
public FunctionDef.Builder setNodeDef(int index, NodeDef.Builder builderForValue)
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;
-
addNodeDef
public FunctionDef.Builder addNodeDef(NodeDef value)
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;
-
addNodeDef
public FunctionDef.Builder addNodeDef(int index, NodeDef value)
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;
-
addNodeDef
public FunctionDef.Builder addNodeDef(NodeDef.Builder builderForValue)
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;
-
addNodeDef
public FunctionDef.Builder addNodeDef(int index, NodeDef.Builder builderForValue)
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;
-
addAllNodeDef
public FunctionDef.Builder addAllNodeDef(java.lang.Iterable<? extends NodeDef> values)
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;
-
clearNodeDef
public FunctionDef.Builder 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 .org.platanios.tensorflow.proto.NodeDef node_def = 3;
-
removeNodeDef
public FunctionDef.Builder removeNodeDef(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;
-
getNodeDefBuilder
public NodeDef.Builder getNodeDefBuilder(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;
-
getNodeDefOrBuilder
public 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;
- Specified by:
getNodeDefOrBuilder
in interfaceFunctionDefOrBuilder
-
getNodeDefOrBuilderList
public 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;
- Specified by:
getNodeDefOrBuilderList
in interfaceFunctionDefOrBuilder
-
addNodeDefBuilder
public NodeDef.Builder 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 .org.platanios.tensorflow.proto.NodeDef node_def = 3;
-
addNodeDefBuilder
public NodeDef.Builder addNodeDefBuilder(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;
-
getNodeDefBuilderList
public java.util.List<NodeDef.Builder> 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 .org.platanios.tensorflow.proto.NodeDef node_def = 3;
-
getRetCount
public int getRetCount()
Description copied from interface:FunctionDefOrBuilder
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:
getRetCount
in interfaceFunctionDefOrBuilder
-
containsRet
public 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;
- Specified by:
containsRet
in interfaceFunctionDefOrBuilder
-
getRet
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getRet()
Deprecated.UsegetRetMap()
instead.- Specified by:
getRet
in interfaceFunctionDefOrBuilder
-
getRetMap
public 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;
- Specified by:
getRetMap
in interfaceFunctionDefOrBuilder
-
getRetOrDefault
public 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;
- Specified by:
getRetOrDefault
in interfaceFunctionDefOrBuilder
-
getRetOrThrow
public 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;
- Specified by:
getRetOrThrow
in interfaceFunctionDefOrBuilder
-
clearRet
public FunctionDef.Builder clearRet()
-
removeRet
public FunctionDef.Builder removeRet(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;
-
getMutableRet
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getMutableRet()
Deprecated.Use alternate mutation accessors instead.
-
putRet
public FunctionDef.Builder putRet(java.lang.String key, java.lang.String value)
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
public FunctionDef.Builder putAllRet(java.util.Map<java.lang.String,java.lang.String> values)
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:FunctionDefOrBuilder
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:
getControlRetCount
in interfaceFunctionDefOrBuilder
-
containsControlRet
public 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;
- Specified by:
containsControlRet
in interfaceFunctionDefOrBuilder
-
getControlRet
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getControlRet()
Deprecated.UsegetControlRetMap()
instead.- Specified by:
getControlRet
in interfaceFunctionDefOrBuilder
-
getControlRetMap
public 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;
- Specified by:
getControlRetMap
in interfaceFunctionDefOrBuilder
-
getControlRetOrDefault
public 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;
- Specified by:
getControlRetOrDefault
in interfaceFunctionDefOrBuilder
-
getControlRetOrThrow
public 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;
- Specified by:
getControlRetOrThrow
in interfaceFunctionDefOrBuilder
-
clearControlRet
public FunctionDef.Builder clearControlRet()
-
removeControlRet
public FunctionDef.Builder removeControlRet(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;
-
getMutableControlRet
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getMutableControlRet()
Deprecated.Use alternate mutation accessors instead.
-
putControlRet
public FunctionDef.Builder putControlRet(java.lang.String key, java.lang.String value)
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
public FunctionDef.Builder putAllControlRet(java.util.Map<java.lang.String,java.lang.String> values)
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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.Builder>
-
mergeUnknownFields
public final FunctionDef.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.Builder>
-
-