public static final class GPUOptions.Experimental.VirtualDevices extends com.github.os72.protobuf351.GeneratedMessageV3 implements GPUOptions.Experimental.VirtualDevicesOrBuilder
Configuration for breaking down a visible GPU into multiple "virtual" devices.Protobuf type
tensorflow.GPUOptions.Experimental.VirtualDevices
Modifier and Type | Class and Description |
---|---|
static class |
GPUOptions.Experimental.VirtualDevices.Builder
Configuration for breaking down a visible GPU into multiple "virtual"
devices.
|
com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage>, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage>, com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
MEMORY_LIMIT_MB_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static GPUOptions.Experimental.VirtualDevices |
getDefaultInstance() |
GPUOptions.Experimental.VirtualDevices |
getDefaultInstanceForType() |
static com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptor() |
float |
getMemoryLimitMb(int index)
Per "virtual" device memory limit, in MB.
|
int |
getMemoryLimitMbCount()
Per "virtual" device memory limit, in MB.
|
List<Float> |
getMemoryLimitMbList()
Per "virtual" device memory limit, in MB.
|
com.github.os72.protobuf351.Parser<GPUOptions.Experimental.VirtualDevices> |
getParserForType() |
int |
getSerializedSize() |
com.github.os72.protobuf351.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static GPUOptions.Experimental.VirtualDevices.Builder |
newBuilder() |
static GPUOptions.Experimental.VirtualDevices.Builder |
newBuilder(GPUOptions.Experimental.VirtualDevices prototype) |
GPUOptions.Experimental.VirtualDevices.Builder |
newBuilderForType() |
protected GPUOptions.Experimental.VirtualDevices.Builder |
newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent) |
static GPUOptions.Experimental.VirtualDevices |
parseDelimitedFrom(InputStream input) |
static GPUOptions.Experimental.VirtualDevices |
parseDelimitedFrom(InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static GPUOptions.Experimental.VirtualDevices |
parseFrom(byte[] data) |
static GPUOptions.Experimental.VirtualDevices |
parseFrom(byte[] data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static GPUOptions.Experimental.VirtualDevices |
parseFrom(ByteBuffer data) |
static GPUOptions.Experimental.VirtualDevices |
parseFrom(ByteBuffer data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static GPUOptions.Experimental.VirtualDevices |
parseFrom(com.github.os72.protobuf351.ByteString data) |
static GPUOptions.Experimental.VirtualDevices |
parseFrom(com.github.os72.protobuf351.ByteString data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static GPUOptions.Experimental.VirtualDevices |
parseFrom(com.github.os72.protobuf351.CodedInputStream input) |
static GPUOptions.Experimental.VirtualDevices |
parseFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static GPUOptions.Experimental.VirtualDevices |
parseFrom(InputStream input) |
static GPUOptions.Experimental.VirtualDevices |
parseFrom(InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static com.github.os72.protobuf351.Parser<GPUOptions.Experimental.VirtualDevices> |
parser() |
GPUOptions.Experimental.VirtualDevices.Builder |
toBuilder() |
void |
writeTo(com.github.os72.protobuf351.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, 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 MEMORY_LIMIT_MB_FIELD_NUMBER
public final com.github.os72.protobuf351.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.github.os72.protobuf351.MessageOrBuilder
getUnknownFields
in class com.github.os72.protobuf351.GeneratedMessageV3
public static final com.github.os72.protobuf351.Descriptors.Descriptor getDescriptor()
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.github.os72.protobuf351.GeneratedMessageV3
public List<Float> getMemoryLimitMbList()
Per "virtual" device memory limit, in MB. The number of elements in the list is the number of virtual devices to create on the corresponding visible GPU (see "virtual_devices" below). If empty, it will create single virtual device taking all available memory from the device. For the concept of "visible" and "virtual" GPU, see the comments for "visible_device_list" above for more information.
repeated float memory_limit_mb = 1;
getMemoryLimitMbList
in interface GPUOptions.Experimental.VirtualDevicesOrBuilder
public int getMemoryLimitMbCount()
Per "virtual" device memory limit, in MB. The number of elements in the list is the number of virtual devices to create on the corresponding visible GPU (see "virtual_devices" below). If empty, it will create single virtual device taking all available memory from the device. For the concept of "visible" and "virtual" GPU, see the comments for "visible_device_list" above for more information.
repeated float memory_limit_mb = 1;
getMemoryLimitMbCount
in interface GPUOptions.Experimental.VirtualDevicesOrBuilder
public float getMemoryLimitMb(int index)
Per "virtual" device memory limit, in MB. The number of elements in the list is the number of virtual devices to create on the corresponding visible GPU (see "virtual_devices" below). If empty, it will create single virtual device taking all available memory from the device. For the concept of "visible" and "virtual" GPU, see the comments for "visible_device_list" above for more information.
repeated float memory_limit_mb = 1;
getMemoryLimitMb
in interface GPUOptions.Experimental.VirtualDevicesOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
isInitialized
in class com.github.os72.protobuf351.GeneratedMessageV3
public void writeTo(com.github.os72.protobuf351.CodedOutputStream output) throws IOException
writeTo
in interface com.github.os72.protobuf351.MessageLite
writeTo
in class com.github.os72.protobuf351.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.github.os72.protobuf351.MessageLite
getSerializedSize
in class com.github.os72.protobuf351.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.github.os72.protobuf351.Message
equals
in class com.github.os72.protobuf351.AbstractMessage
public int hashCode()
hashCode
in interface com.github.os72.protobuf351.Message
hashCode
in class com.github.os72.protobuf351.AbstractMessage
public static GPUOptions.Experimental.VirtualDevices parseFrom(ByteBuffer data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static GPUOptions.Experimental.VirtualDevices parseFrom(ByteBuffer data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static GPUOptions.Experimental.VirtualDevices parseFrom(com.github.os72.protobuf351.ByteString data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static GPUOptions.Experimental.VirtualDevices parseFrom(com.github.os72.protobuf351.ByteString data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static GPUOptions.Experimental.VirtualDevices parseFrom(byte[] data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static GPUOptions.Experimental.VirtualDevices parseFrom(byte[] data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static GPUOptions.Experimental.VirtualDevices parseFrom(InputStream input) throws IOException
IOException
public static GPUOptions.Experimental.VirtualDevices parseFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static GPUOptions.Experimental.VirtualDevices parseDelimitedFrom(InputStream input) throws IOException
IOException
public static GPUOptions.Experimental.VirtualDevices parseDelimitedFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static GPUOptions.Experimental.VirtualDevices parseFrom(com.github.os72.protobuf351.CodedInputStream input) throws IOException
IOException
public static GPUOptions.Experimental.VirtualDevices parseFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public GPUOptions.Experimental.VirtualDevices.Builder newBuilderForType()
newBuilderForType
in interface com.github.os72.protobuf351.Message
newBuilderForType
in interface com.github.os72.protobuf351.MessageLite
public static GPUOptions.Experimental.VirtualDevices.Builder newBuilder()
public static GPUOptions.Experimental.VirtualDevices.Builder newBuilder(GPUOptions.Experimental.VirtualDevices prototype)
public GPUOptions.Experimental.VirtualDevices.Builder toBuilder()
toBuilder
in interface com.github.os72.protobuf351.Message
toBuilder
in interface com.github.os72.protobuf351.MessageLite
protected GPUOptions.Experimental.VirtualDevices.Builder newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.github.os72.protobuf351.GeneratedMessageV3
public static GPUOptions.Experimental.VirtualDevices getDefaultInstance()
public static com.github.os72.protobuf351.Parser<GPUOptions.Experimental.VirtualDevices> parser()
public com.github.os72.protobuf351.Parser<GPUOptions.Experimental.VirtualDevices> getParserForType()
getParserForType
in interface com.github.os72.protobuf351.Message
getParserForType
in interface com.github.os72.protobuf351.MessageLite
getParserForType
in class com.github.os72.protobuf351.GeneratedMessageV3
public GPUOptions.Experimental.VirtualDevices getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageOrBuilder
Copyright © 2018. All rights reserved.