Package tensorflow.eager
Class EagerServiceOuterClass.Operation.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.Operation.Builder>
-
- tensorflow.eager.EagerServiceOuterClass.Operation.Builder
-
- All Implemented Interfaces:
Cloneable
,org.nd4j.shade.protobuf.Message.Builder
,org.nd4j.shade.protobuf.MessageLite.Builder
,org.nd4j.shade.protobuf.MessageLiteOrBuilder
,org.nd4j.shade.protobuf.MessageOrBuilder
,EagerServiceOuterClass.OperationOrBuilder
- Enclosing class:
- EagerServiceOuterClass.Operation
public static final class EagerServiceOuterClass.Operation.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.Operation.Builder> implements EagerServiceOuterClass.OperationOrBuilder
A proto representation of an eager operation.
Protobuf typetensorflow.eager.Operation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description EagerServiceOuterClass.Operation.Builder
addAllControlOpIds(Iterable<? extends Long> values)
Control Operation IDs that will be respected when ops are re-ordered by async execution.EagerServiceOuterClass.Operation.Builder
addAllInputs(Iterable<? extends EagerServiceOuterClass.RemoteTensorHandle> values)
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
EagerServiceOuterClass.Operation.Builder
addControlOpIds(long value)
Control Operation IDs that will be respected when ops are re-ordered by async execution.EagerServiceOuterClass.Operation.Builder
addInputs(int index, EagerServiceOuterClass.RemoteTensorHandle value)
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
EagerServiceOuterClass.Operation.Builder
addInputs(int index, EagerServiceOuterClass.RemoteTensorHandle.Builder builderForValue)
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
EagerServiceOuterClass.Operation.Builder
addInputs(EagerServiceOuterClass.RemoteTensorHandle value)
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
EagerServiceOuterClass.Operation.Builder
addInputs(EagerServiceOuterClass.RemoteTensorHandle.Builder builderForValue)
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
EagerServiceOuterClass.RemoteTensorHandle.Builder
addInputsBuilder()
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
EagerServiceOuterClass.RemoteTensorHandle.Builder
addInputsBuilder(int index)
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
EagerServiceOuterClass.Operation.Builder
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
EagerServiceOuterClass.Operation
build()
EagerServiceOuterClass.Operation
buildPartial()
EagerServiceOuterClass.Operation.Builder
clear()
EagerServiceOuterClass.Operation.Builder
clearAttrs()
EagerServiceOuterClass.Operation.Builder
clearControlOpIds()
Control Operation IDs that will be respected when ops are re-ordered by async execution.EagerServiceOuterClass.Operation.Builder
clearDevice()
string device = 6;
EagerServiceOuterClass.Operation.Builder
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
EagerServiceOuterClass.Operation.Builder
clearId()
A unique identifier for the operation.EagerServiceOuterClass.Operation.Builder
clearInputs()
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
EagerServiceOuterClass.Operation.Builder
clearName()
string name = 2;
EagerServiceOuterClass.Operation.Builder
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
EagerServiceOuterClass.Operation.Builder
clone()
boolean
containsAttrs(String key)
map<string, .tensorflow.AttrValue> attrs = 5;
Map<String,AttrValue>
getAttrs()
Deprecated.int
getAttrsCount()
map<string, .tensorflow.AttrValue> attrs = 5;
Map<String,AttrValue>
getAttrsMap()
map<string, .tensorflow.AttrValue> attrs = 5;
AttrValue
getAttrsOrDefault(String key, AttrValue defaultValue)
map<string, .tensorflow.AttrValue> attrs = 5;
AttrValue
getAttrsOrThrow(String key)
map<string, .tensorflow.AttrValue> attrs = 5;
long
getControlOpIds(int index)
Control Operation IDs that will be respected when ops are re-ordered by async execution.int
getControlOpIdsCount()
Control Operation IDs that will be respected when ops are re-ordered by async execution.List<Long>
getControlOpIdsList()
Control Operation IDs that will be respected when ops are re-ordered by async execution.EagerServiceOuterClass.Operation
getDefaultInstanceForType()
static org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptor()
org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDevice()
string device = 6;
org.nd4j.shade.protobuf.ByteString
getDeviceBytes()
string device = 6;
long
getId()
A unique identifier for the operation.EagerServiceOuterClass.RemoteTensorHandle
getInputs(int index)
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
EagerServiceOuterClass.RemoteTensorHandle.Builder
getInputsBuilder(int index)
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
List<EagerServiceOuterClass.RemoteTensorHandle.Builder>
getInputsBuilderList()
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
int
getInputsCount()
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
List<EagerServiceOuterClass.RemoteTensorHandle>
getInputsList()
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
EagerServiceOuterClass.RemoteTensorHandleOrBuilder
getInputsOrBuilder(int index)
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
List<? extends EagerServiceOuterClass.RemoteTensorHandleOrBuilder>
getInputsOrBuilderList()
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
Map<String,AttrValue>
getMutableAttrs()
Deprecated.String
getName()
string name = 2;
org.nd4j.shade.protobuf.ByteString
getNameBytes()
string name = 2;
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected org.nd4j.shade.protobuf.MapField
internalGetMapField(int number)
protected org.nd4j.shade.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
EagerServiceOuterClass.Operation.Builder
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
EagerServiceOuterClass.Operation.Builder
mergeFrom(org.nd4j.shade.protobuf.Message other)
EagerServiceOuterClass.Operation.Builder
mergeFrom(EagerServiceOuterClass.Operation other)
EagerServiceOuterClass.Operation.Builder
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
EagerServiceOuterClass.Operation.Builder
putAllAttrs(Map<String,AttrValue> values)
map<string, .tensorflow.AttrValue> attrs = 5;
EagerServiceOuterClass.Operation.Builder
putAttrs(String key, AttrValue value)
map<string, .tensorflow.AttrValue> attrs = 5;
EagerServiceOuterClass.Operation.Builder
removeAttrs(String key)
map<string, .tensorflow.AttrValue> attrs = 5;
EagerServiceOuterClass.Operation.Builder
removeInputs(int index)
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
EagerServiceOuterClass.Operation.Builder
setControlOpIds(int index, long value)
Control Operation IDs that will be respected when ops are re-ordered by async execution.EagerServiceOuterClass.Operation.Builder
setDevice(String value)
string device = 6;
EagerServiceOuterClass.Operation.Builder
setDeviceBytes(org.nd4j.shade.protobuf.ByteString value)
string device = 6;
EagerServiceOuterClass.Operation.Builder
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
EagerServiceOuterClass.Operation.Builder
setId(long value)
A unique identifier for the operation.EagerServiceOuterClass.Operation.Builder
setInputs(int index, EagerServiceOuterClass.RemoteTensorHandle value)
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
EagerServiceOuterClass.Operation.Builder
setInputs(int index, EagerServiceOuterClass.RemoteTensorHandle.Builder builderForValue)
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
EagerServiceOuterClass.Operation.Builder
setName(String value)
string name = 2;
EagerServiceOuterClass.Operation.Builder
setNameBytes(org.nd4j.shade.protobuf.ByteString value)
string name = 2;
EagerServiceOuterClass.Operation.Builder
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
EagerServiceOuterClass.Operation.Builder
setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected org.nd4j.shade.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.Operation.Builder>
-
internalGetMutableMapField
protected org.nd4j.shade.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.Operation.Builder>
-
internalGetFieldAccessorTable
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.Operation.Builder>
-
clear
public EagerServiceOuterClass.Operation.Builder clear()
- Specified by:
clear
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
clear
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
clear
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.Operation.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.Operation.Builder>
-
getDefaultInstanceForType
public EagerServiceOuterClass.Operation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public EagerServiceOuterClass.Operation build()
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public EagerServiceOuterClass.Operation buildPartial()
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public EagerServiceOuterClass.Operation.Builder clone()
- Specified by:
clone
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
clone
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
clone
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.Operation.Builder>
-
setField
public EagerServiceOuterClass.Operation.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.Operation.Builder>
-
clearField
public EagerServiceOuterClass.Operation.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
clearField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.Operation.Builder>
-
clearOneof
public EagerServiceOuterClass.Operation.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
clearOneof
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.Operation.Builder>
-
setRepeatedField
public EagerServiceOuterClass.Operation.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.Operation.Builder>
-
addRepeatedField
public EagerServiceOuterClass.Operation.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.Operation.Builder>
-
mergeFrom
public EagerServiceOuterClass.Operation.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
mergeFrom
in classorg.nd4j.shade.protobuf.AbstractMessage.Builder<EagerServiceOuterClass.Operation.Builder>
-
mergeFrom
public EagerServiceOuterClass.Operation.Builder mergeFrom(EagerServiceOuterClass.Operation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.Operation.Builder>
-
mergeFrom
public EagerServiceOuterClass.Operation.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classorg.nd4j.shade.protobuf.AbstractMessage.Builder<EagerServiceOuterClass.Operation.Builder>
- Throws:
IOException
-
getId
public long getId()
A unique identifier for the operation. Set by the client so that the client can uniquely identify the outputs of the scheduled operation. In the initial implementation, sending duplicate IDs has undefined behaviour, but additional constraints may be placed upon this in the future.
int64 id = 1;
- Specified by:
getId
in interfaceEagerServiceOuterClass.OperationOrBuilder
- Returns:
- The id.
-
setId
public EagerServiceOuterClass.Operation.Builder setId(long value)
A unique identifier for the operation. Set by the client so that the client can uniquely identify the outputs of the scheduled operation. In the initial implementation, sending duplicate IDs has undefined behaviour, but additional constraints may be placed upon this in the future.
int64 id = 1;
- Parameters:
value
- The id to set.- Returns:
- This builder for chaining.
-
clearId
public EagerServiceOuterClass.Operation.Builder clearId()
A unique identifier for the operation. Set by the client so that the client can uniquely identify the outputs of the scheduled operation. In the initial implementation, sending duplicate IDs has undefined behaviour, but additional constraints may be placed upon this in the future.
int64 id = 1;
- Returns:
- This builder for chaining.
-
getName
public String getName()
string name = 2;
- Specified by:
getName
in interfaceEagerServiceOuterClass.OperationOrBuilder
- Returns:
- The name.
-
getNameBytes
public org.nd4j.shade.protobuf.ByteString getNameBytes()
string name = 2;
- Specified by:
getNameBytes
in interfaceEagerServiceOuterClass.OperationOrBuilder
- Returns:
- The bytes for name.
-
setName
public EagerServiceOuterClass.Operation.Builder setName(String value)
string name = 2;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public EagerServiceOuterClass.Operation.Builder clearName()
string name = 2;
- Returns:
- This builder for chaining.
-
setNameBytes
public EagerServiceOuterClass.Operation.Builder setNameBytes(org.nd4j.shade.protobuf.ByteString value)
string name = 2;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getInputsList
public List<EagerServiceOuterClass.RemoteTensorHandle> getInputsList()
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
- Specified by:
getInputsList
in interfaceEagerServiceOuterClass.OperationOrBuilder
-
getInputsCount
public int getInputsCount()
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
- Specified by:
getInputsCount
in interfaceEagerServiceOuterClass.OperationOrBuilder
-
getInputs
public EagerServiceOuterClass.RemoteTensorHandle getInputs(int index)
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
- Specified by:
getInputs
in interfaceEagerServiceOuterClass.OperationOrBuilder
-
setInputs
public EagerServiceOuterClass.Operation.Builder setInputs(int index, EagerServiceOuterClass.RemoteTensorHandle value)
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
-
setInputs
public EagerServiceOuterClass.Operation.Builder setInputs(int index, EagerServiceOuterClass.RemoteTensorHandle.Builder builderForValue)
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
-
addInputs
public EagerServiceOuterClass.Operation.Builder addInputs(EagerServiceOuterClass.RemoteTensorHandle value)
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
-
addInputs
public EagerServiceOuterClass.Operation.Builder addInputs(int index, EagerServiceOuterClass.RemoteTensorHandle value)
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
-
addInputs
public EagerServiceOuterClass.Operation.Builder addInputs(EagerServiceOuterClass.RemoteTensorHandle.Builder builderForValue)
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
-
addInputs
public EagerServiceOuterClass.Operation.Builder addInputs(int index, EagerServiceOuterClass.RemoteTensorHandle.Builder builderForValue)
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
-
addAllInputs
public EagerServiceOuterClass.Operation.Builder addAllInputs(Iterable<? extends EagerServiceOuterClass.RemoteTensorHandle> values)
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
-
clearInputs
public EagerServiceOuterClass.Operation.Builder clearInputs()
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
-
removeInputs
public EagerServiceOuterClass.Operation.Builder removeInputs(int index)
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
-
getInputsBuilder
public EagerServiceOuterClass.RemoteTensorHandle.Builder getInputsBuilder(int index)
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
-
getInputsOrBuilder
public EagerServiceOuterClass.RemoteTensorHandleOrBuilder getInputsOrBuilder(int index)
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
- Specified by:
getInputsOrBuilder
in interfaceEagerServiceOuterClass.OperationOrBuilder
-
getInputsOrBuilderList
public List<? extends EagerServiceOuterClass.RemoteTensorHandleOrBuilder> getInputsOrBuilderList()
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
- Specified by:
getInputsOrBuilderList
in interfaceEagerServiceOuterClass.OperationOrBuilder
-
addInputsBuilder
public EagerServiceOuterClass.RemoteTensorHandle.Builder addInputsBuilder()
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
-
addInputsBuilder
public EagerServiceOuterClass.RemoteTensorHandle.Builder addInputsBuilder(int index)
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
-
getInputsBuilderList
public List<EagerServiceOuterClass.RemoteTensorHandle.Builder> getInputsBuilderList()
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
-
getControlOpIdsList
public List<Long> getControlOpIdsList()
Control Operation IDs that will be respected when ops are re-ordered by async execution. If async execution (+ op re-ordering) is not enabled, this should have no effect.
repeated int64 control_op_ids = 4;
- Specified by:
getControlOpIdsList
in interfaceEagerServiceOuterClass.OperationOrBuilder
- Returns:
- A list containing the controlOpIds.
-
getControlOpIdsCount
public int getControlOpIdsCount()
Control Operation IDs that will be respected when ops are re-ordered by async execution. If async execution (+ op re-ordering) is not enabled, this should have no effect.
repeated int64 control_op_ids = 4;
- Specified by:
getControlOpIdsCount
in interfaceEagerServiceOuterClass.OperationOrBuilder
- Returns:
- The count of controlOpIds.
-
getControlOpIds
public long getControlOpIds(int index)
Control Operation IDs that will be respected when ops are re-ordered by async execution. If async execution (+ op re-ordering) is not enabled, this should have no effect.
repeated int64 control_op_ids = 4;
- Specified by:
getControlOpIds
in interfaceEagerServiceOuterClass.OperationOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The controlOpIds at the given index.
-
setControlOpIds
public EagerServiceOuterClass.Operation.Builder setControlOpIds(int index, long value)
Control Operation IDs that will be respected when ops are re-ordered by async execution. If async execution (+ op re-ordering) is not enabled, this should have no effect.
repeated int64 control_op_ids = 4;
- Parameters:
index
- The index to set the value at.value
- The controlOpIds to set.- Returns:
- This builder for chaining.
-
addControlOpIds
public EagerServiceOuterClass.Operation.Builder addControlOpIds(long value)
Control Operation IDs that will be respected when ops are re-ordered by async execution. If async execution (+ op re-ordering) is not enabled, this should have no effect.
repeated int64 control_op_ids = 4;
- Parameters:
value
- The controlOpIds to add.- Returns:
- This builder for chaining.
-
addAllControlOpIds
public EagerServiceOuterClass.Operation.Builder addAllControlOpIds(Iterable<? extends Long> values)
Control Operation IDs that will be respected when ops are re-ordered by async execution. If async execution (+ op re-ordering) is not enabled, this should have no effect.
repeated int64 control_op_ids = 4;
- Parameters:
values
- The controlOpIds to add.- Returns:
- This builder for chaining.
-
clearControlOpIds
public EagerServiceOuterClass.Operation.Builder clearControlOpIds()
Control Operation IDs that will be respected when ops are re-ordered by async execution. If async execution (+ op re-ordering) is not enabled, this should have no effect.
repeated int64 control_op_ids = 4;
- Returns:
- This builder for chaining.
-
getAttrsCount
public int getAttrsCount()
Description copied from interface:EagerServiceOuterClass.OperationOrBuilder
map<string, .tensorflow.AttrValue> attrs = 5;
- Specified by:
getAttrsCount
in interfaceEagerServiceOuterClass.OperationOrBuilder
-
containsAttrs
public boolean containsAttrs(String key)
map<string, .tensorflow.AttrValue> attrs = 5;
- Specified by:
containsAttrs
in interfaceEagerServiceOuterClass.OperationOrBuilder
-
getAttrs
@Deprecated public Map<String,AttrValue> getAttrs()
Deprecated.UsegetAttrsMap()
instead.- Specified by:
getAttrs
in interfaceEagerServiceOuterClass.OperationOrBuilder
-
getAttrsMap
public Map<String,AttrValue> getAttrsMap()
map<string, .tensorflow.AttrValue> attrs = 5;
- Specified by:
getAttrsMap
in interfaceEagerServiceOuterClass.OperationOrBuilder
-
getAttrsOrDefault
public AttrValue getAttrsOrDefault(String key, AttrValue defaultValue)
map<string, .tensorflow.AttrValue> attrs = 5;
- Specified by:
getAttrsOrDefault
in interfaceEagerServiceOuterClass.OperationOrBuilder
-
getAttrsOrThrow
public AttrValue getAttrsOrThrow(String key)
map<string, .tensorflow.AttrValue> attrs = 5;
- Specified by:
getAttrsOrThrow
in interfaceEagerServiceOuterClass.OperationOrBuilder
-
clearAttrs
public EagerServiceOuterClass.Operation.Builder clearAttrs()
-
removeAttrs
public EagerServiceOuterClass.Operation.Builder removeAttrs(String key)
map<string, .tensorflow.AttrValue> attrs = 5;
-
getMutableAttrs
@Deprecated public Map<String,AttrValue> getMutableAttrs()
Deprecated.Use alternate mutation accessors instead.
-
putAttrs
public EagerServiceOuterClass.Operation.Builder putAttrs(String key, AttrValue value)
map<string, .tensorflow.AttrValue> attrs = 5;
-
putAllAttrs
public EagerServiceOuterClass.Operation.Builder putAllAttrs(Map<String,AttrValue> values)
map<string, .tensorflow.AttrValue> attrs = 5;
-
getDevice
public String getDevice()
string device = 6;
- Specified by:
getDevice
in interfaceEagerServiceOuterClass.OperationOrBuilder
- Returns:
- The device.
-
getDeviceBytes
public org.nd4j.shade.protobuf.ByteString getDeviceBytes()
string device = 6;
- Specified by:
getDeviceBytes
in interfaceEagerServiceOuterClass.OperationOrBuilder
- Returns:
- The bytes for device.
-
setDevice
public EagerServiceOuterClass.Operation.Builder setDevice(String value)
string device = 6;
- Parameters:
value
- The device to set.- Returns:
- This builder for chaining.
-
clearDevice
public EagerServiceOuterClass.Operation.Builder clearDevice()
string device = 6;
- Returns:
- This builder for chaining.
-
setDeviceBytes
public EagerServiceOuterClass.Operation.Builder setDeviceBytes(org.nd4j.shade.protobuf.ByteString value)
string device = 6;
- Parameters:
value
- The bytes for device to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final EagerServiceOuterClass.Operation.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.Operation.Builder>
-
mergeUnknownFields
public final EagerServiceOuterClass.Operation.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.Operation.Builder>
-
-