public final class DeviceAttributes extends org.nd4j.shade.protobuf.GeneratedMessageV3 implements DeviceAttributesOrBuilder
tensorflow.DeviceAttributes
Modifier and Type | Class and Description |
---|---|
static class |
DeviceAttributes.Builder
Protobuf type
tensorflow.DeviceAttributes |
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 |
DEVICE_TYPE_FIELD_NUMBER |
static int |
INCARNATION_FIELD_NUMBER |
static int |
LOCALITY_FIELD_NUMBER |
static int |
MEMORY_LIMIT_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
PHYSICAL_DEVICE_DESC_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static DeviceAttributes |
getDefaultInstance() |
DeviceAttributes |
getDefaultInstanceForType() |
static org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDeviceType()
String representation of device_type.
|
org.nd4j.shade.protobuf.ByteString |
getDeviceTypeBytes()
String representation of device_type.
|
long |
getIncarnation()
A device is assigned a global unique number each time it is
initialized.
|
DeviceLocality |
getLocality()
Platform-specific data about device that may be useful
for supporting efficient data transfers.
|
DeviceLocalityOrBuilder |
getLocalityOrBuilder()
Platform-specific data about device that may be useful
for supporting efficient data transfers.
|
long |
getMemoryLimit()
Memory capacity of device in bytes.
|
String |
getName()
Fully specified name of the device within a cluster.
|
org.nd4j.shade.protobuf.ByteString |
getNameBytes()
Fully specified name of the device within a cluster.
|
org.nd4j.shade.protobuf.Parser<DeviceAttributes> |
getParserForType() |
String |
getPhysicalDeviceDesc()
String representation of the physical device that this device maps to.
|
org.nd4j.shade.protobuf.ByteString |
getPhysicalDeviceDescBytes()
String representation of the physical device that this device maps to.
|
int |
getSerializedSize() |
org.nd4j.shade.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasLocality()
Platform-specific data about device that may be useful
for supporting efficient data transfers.
|
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static DeviceAttributes.Builder |
newBuilder() |
static DeviceAttributes.Builder |
newBuilder(DeviceAttributes prototype) |
DeviceAttributes.Builder |
newBuilderForType() |
protected DeviceAttributes.Builder |
newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static DeviceAttributes |
parseDelimitedFrom(InputStream input) |
static DeviceAttributes |
parseDelimitedFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static DeviceAttributes |
parseFrom(byte[] data) |
static DeviceAttributes |
parseFrom(byte[] data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static DeviceAttributes |
parseFrom(ByteBuffer data) |
static DeviceAttributes |
parseFrom(ByteBuffer data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static DeviceAttributes |
parseFrom(org.nd4j.shade.protobuf.ByteString data) |
static DeviceAttributes |
parseFrom(org.nd4j.shade.protobuf.ByteString data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static DeviceAttributes |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) |
static DeviceAttributes |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static DeviceAttributes |
parseFrom(InputStream input) |
static DeviceAttributes |
parseFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static org.nd4j.shade.protobuf.Parser<DeviceAttributes> |
parser() |
DeviceAttributes.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, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, 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, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int NAME_FIELD_NUMBER
public static final int DEVICE_TYPE_FIELD_NUMBER
public static final int MEMORY_LIMIT_FIELD_NUMBER
public static final int LOCALITY_FIELD_NUMBER
public static final int INCARNATION_FIELD_NUMBER
public static final int PHYSICAL_DEVICE_DESC_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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public String getName()
Fully specified name of the device within a cluster.
string name = 1;
getName
in interface DeviceAttributesOrBuilder
public org.nd4j.shade.protobuf.ByteString getNameBytes()
Fully specified name of the device within a cluster.
string name = 1;
getNameBytes
in interface DeviceAttributesOrBuilder
public String getDeviceType()
String representation of device_type.
string device_type = 2;
getDeviceType
in interface DeviceAttributesOrBuilder
public org.nd4j.shade.protobuf.ByteString getDeviceTypeBytes()
String representation of device_type.
string device_type = 2;
getDeviceTypeBytes
in interface DeviceAttributesOrBuilder
public long getMemoryLimit()
Memory capacity of device in bytes.
int64 memory_limit = 4;
getMemoryLimit
in interface DeviceAttributesOrBuilder
public boolean hasLocality()
Platform-specific data about device that may be useful for supporting efficient data transfers.
.tensorflow.DeviceLocality locality = 5;
hasLocality
in interface DeviceAttributesOrBuilder
public DeviceLocality getLocality()
Platform-specific data about device that may be useful for supporting efficient data transfers.
.tensorflow.DeviceLocality locality = 5;
getLocality
in interface DeviceAttributesOrBuilder
public DeviceLocalityOrBuilder getLocalityOrBuilder()
Platform-specific data about device that may be useful for supporting efficient data transfers.
.tensorflow.DeviceLocality locality = 5;
getLocalityOrBuilder
in interface DeviceAttributesOrBuilder
public long getIncarnation()
A device is assigned a global unique number each time it is initialized. "incarnation" should never be 0.
fixed64 incarnation = 6;
getIncarnation
in interface DeviceAttributesOrBuilder
public String getPhysicalDeviceDesc()
String representation of the physical device that this device maps to.
string physical_device_desc = 7;
getPhysicalDeviceDesc
in interface DeviceAttributesOrBuilder
public org.nd4j.shade.protobuf.ByteString getPhysicalDeviceDescBytes()
String representation of the physical device that this device maps to.
string physical_device_desc = 7;
getPhysicalDeviceDescBytes
in interface DeviceAttributesOrBuilder
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 DeviceAttributes parseFrom(ByteBuffer data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static DeviceAttributes parseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static DeviceAttributes parseFrom(org.nd4j.shade.protobuf.ByteString data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static DeviceAttributes 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 DeviceAttributes parseFrom(byte[] data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static DeviceAttributes parseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static DeviceAttributes parseFrom(InputStream input) throws IOException
IOException
public static DeviceAttributes parseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DeviceAttributes parseDelimitedFrom(InputStream input) throws IOException
IOException
public static DeviceAttributes parseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DeviceAttributes parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) throws IOException
IOException
public static DeviceAttributes parseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public DeviceAttributes.Builder newBuilderForType()
newBuilderForType
in interface org.nd4j.shade.protobuf.Message
newBuilderForType
in interface org.nd4j.shade.protobuf.MessageLite
public static DeviceAttributes.Builder newBuilder()
public static DeviceAttributes.Builder newBuilder(DeviceAttributes prototype)
public DeviceAttributes.Builder toBuilder()
toBuilder
in interface org.nd4j.shade.protobuf.Message
toBuilder
in interface org.nd4j.shade.protobuf.MessageLite
protected DeviceAttributes.Builder newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public static DeviceAttributes getDefaultInstance()
public static org.nd4j.shade.protobuf.Parser<DeviceAttributes> parser()
public org.nd4j.shade.protobuf.Parser<DeviceAttributes> 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 DeviceAttributes getDefaultInstanceForType()
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
Copyright © 2021. All rights reserved.