public static final class EagerServiceOuterClass.Operation extends org.nd4j.shade.protobuf.GeneratedMessageV3 implements EagerServiceOuterClass.OperationOrBuilder
A proto representation of an eager operation.Protobuf type
tensorflow.eager.Operation
Modifier and Type | Class and Description |
---|---|
static class |
EagerServiceOuterClass.Operation.Builder
A proto representation of an eager operation.
|
org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage>, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage>, org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable, org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter
Modifier and Type | Field and Description |
---|---|
static int |
ATTRS_FIELD_NUMBER |
static int |
CONTROL_OP_IDS_FIELD_NUMBER |
static int |
DEVICE_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
INPUTS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
containsAttrs(String key)
map<string, .tensorflow.AttrValue> attrs = 5; |
boolean |
equals(Object obj) |
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.
|
static EagerServiceOuterClass.Operation |
getDefaultInstance() |
EagerServiceOuterClass.Operation |
getDefaultInstanceForType() |
static org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
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; |
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; |
String |
getName()
string name = 2; |
org.nd4j.shade.protobuf.ByteString |
getNameBytes()
string name = 2; |
org.nd4j.shade.protobuf.Parser<EagerServiceOuterClass.Operation> |
getParserForType() |
int |
getSerializedSize() |
org.nd4j.shade.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected org.nd4j.shade.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static EagerServiceOuterClass.Operation.Builder |
newBuilder() |
static EagerServiceOuterClass.Operation.Builder |
newBuilder(EagerServiceOuterClass.Operation prototype) |
EagerServiceOuterClass.Operation.Builder |
newBuilderForType() |
protected EagerServiceOuterClass.Operation.Builder |
newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static EagerServiceOuterClass.Operation |
parseDelimitedFrom(InputStream input) |
static EagerServiceOuterClass.Operation |
parseDelimitedFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static EagerServiceOuterClass.Operation |
parseFrom(byte[] data) |
static EagerServiceOuterClass.Operation |
parseFrom(byte[] data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static EagerServiceOuterClass.Operation |
parseFrom(ByteBuffer data) |
static EagerServiceOuterClass.Operation |
parseFrom(ByteBuffer data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static EagerServiceOuterClass.Operation |
parseFrom(org.nd4j.shade.protobuf.ByteString data) |
static EagerServiceOuterClass.Operation |
parseFrom(org.nd4j.shade.protobuf.ByteString data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static EagerServiceOuterClass.Operation |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) |
static EagerServiceOuterClass.Operation |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static EagerServiceOuterClass.Operation |
parseFrom(InputStream input) |
static EagerServiceOuterClass.Operation |
parseFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static org.nd4j.shade.protobuf.Parser<EagerServiceOuterClass.Operation> |
parser() |
EagerServiceOuterClass.Operation.Builder |
toBuilder() |
void |
writeTo(org.nd4j.shade.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, getSerializedSizeInternal, isInitializedInternal, makeImmutableInternal, mergeFromInternal, toByteArray, toByteString, writeDelimitedTo, writeTo, writeToInternal
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int ID_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int INPUTS_FIELD_NUMBER
public static final int CONTROL_OP_IDS_FIELD_NUMBER
public static final int ATTRS_FIELD_NUMBER
public static final int DEVICE_FIELD_NUMBER
protected Object newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public final org.nd4j.shade.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface org.nd4j.shade.protobuf.MessageOrBuilder
getUnknownFields
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
protected org.nd4j.shade.protobuf.MapField internalGetMapField(int number)
internalGetMapField
in class org.nd4j.shade.protobuf.GeneratedMessageV3
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class org.nd4j.shade.protobuf.GeneratedMessageV3
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;
getId
in interface EagerServiceOuterClass.OperationOrBuilder
public String getName()
string name = 2;
getName
in interface EagerServiceOuterClass.OperationOrBuilder
public org.nd4j.shade.protobuf.ByteString getNameBytes()
string name = 2;
getNameBytes
in interface EagerServiceOuterClass.OperationOrBuilder
public List<EagerServiceOuterClass.RemoteTensorHandle> getInputsList()
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
getInputsList
in interface EagerServiceOuterClass.OperationOrBuilder
public List<? extends EagerServiceOuterClass.RemoteTensorHandleOrBuilder> getInputsOrBuilderList()
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
getInputsOrBuilderList
in interface EagerServiceOuterClass.OperationOrBuilder
public int getInputsCount()
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
getInputsCount
in interface EagerServiceOuterClass.OperationOrBuilder
public EagerServiceOuterClass.RemoteTensorHandle getInputs(int index)
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
getInputs
in interface EagerServiceOuterClass.OperationOrBuilder
public EagerServiceOuterClass.RemoteTensorHandleOrBuilder getInputsOrBuilder(int index)
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
getInputsOrBuilder
in interface EagerServiceOuterClass.OperationOrBuilder
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;
getControlOpIdsList
in interface EagerServiceOuterClass.OperationOrBuilder
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;
getControlOpIdsCount
in interface EagerServiceOuterClass.OperationOrBuilder
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;
getControlOpIds
in interface EagerServiceOuterClass.OperationOrBuilder
public int getAttrsCount()
EagerServiceOuterClass.OperationOrBuilder
map<string, .tensorflow.AttrValue> attrs = 5;
getAttrsCount
in interface EagerServiceOuterClass.OperationOrBuilder
public boolean containsAttrs(String key)
map<string, .tensorflow.AttrValue> attrs = 5;
containsAttrs
in interface EagerServiceOuterClass.OperationOrBuilder
@Deprecated public Map<String,AttrValue> getAttrs()
getAttrsMap()
instead.getAttrs
in interface EagerServiceOuterClass.OperationOrBuilder
public Map<String,AttrValue> getAttrsMap()
map<string, .tensorflow.AttrValue> attrs = 5;
getAttrsMap
in interface EagerServiceOuterClass.OperationOrBuilder
public AttrValue getAttrsOrDefault(String key, AttrValue defaultValue)
map<string, .tensorflow.AttrValue> attrs = 5;
getAttrsOrDefault
in interface EagerServiceOuterClass.OperationOrBuilder
public AttrValue getAttrsOrThrow(String key)
map<string, .tensorflow.AttrValue> attrs = 5;
getAttrsOrThrow
in interface EagerServiceOuterClass.OperationOrBuilder
public String getDevice()
string device = 6;
getDevice
in interface EagerServiceOuterClass.OperationOrBuilder
public org.nd4j.shade.protobuf.ByteString getDeviceBytes()
string device = 6;
getDeviceBytes
in interface EagerServiceOuterClass.OperationOrBuilder
public final boolean isInitialized()
isInitialized
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
isInitialized
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public void writeTo(org.nd4j.shade.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface org.nd4j.shade.protobuf.MessageLite
writeTo
in class org.nd4j.shade.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface org.nd4j.shade.protobuf.MessageLite
getSerializedSize
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface org.nd4j.shade.protobuf.Message
equals
in class org.nd4j.shade.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface org.nd4j.shade.protobuf.Message
hashCode
in class org.nd4j.shade.protobuf.AbstractMessage
public static EagerServiceOuterClass.Operation parseFrom(ByteBuffer data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static EagerServiceOuterClass.Operation parseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static EagerServiceOuterClass.Operation parseFrom(org.nd4j.shade.protobuf.ByteString data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static EagerServiceOuterClass.Operation parseFrom(org.nd4j.shade.protobuf.ByteString data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static EagerServiceOuterClass.Operation parseFrom(byte[] data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static EagerServiceOuterClass.Operation parseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static EagerServiceOuterClass.Operation parseFrom(InputStream input) throws IOException
IOException
public static EagerServiceOuterClass.Operation parseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static EagerServiceOuterClass.Operation parseDelimitedFrom(InputStream input) throws IOException
IOException
public static EagerServiceOuterClass.Operation parseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static EagerServiceOuterClass.Operation parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) throws IOException
IOException
public static EagerServiceOuterClass.Operation parseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public EagerServiceOuterClass.Operation.Builder newBuilderForType()
newBuilderForType
in interface org.nd4j.shade.protobuf.Message
newBuilderForType
in interface org.nd4j.shade.protobuf.MessageLite
public static EagerServiceOuterClass.Operation.Builder newBuilder()
public static EagerServiceOuterClass.Operation.Builder newBuilder(EagerServiceOuterClass.Operation prototype)
public EagerServiceOuterClass.Operation.Builder toBuilder()
toBuilder
in interface org.nd4j.shade.protobuf.Message
toBuilder
in interface org.nd4j.shade.protobuf.MessageLite
protected EagerServiceOuterClass.Operation.Builder newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public static EagerServiceOuterClass.Operation getDefaultInstance()
public static org.nd4j.shade.protobuf.Parser<EagerServiceOuterClass.Operation> parser()
public org.nd4j.shade.protobuf.Parser<EagerServiceOuterClass.Operation> getParserForType()
getParserForType
in interface org.nd4j.shade.protobuf.Message
getParserForType
in interface org.nd4j.shade.protobuf.MessageLite
getParserForType
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public EagerServiceOuterClass.Operation getDefaultInstanceForType()
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
Copyright © 2019. All rights reserved.