public static final class GPUOptions.Experimental.VirtualDevices
Configuration for breaking down a visible GPU into multiple "virtual" devices.
tensorflow.GPUOptions.Experimental.VirtualDevices
type tensorflow.GPUOptions.Experimental.VirtualDevices
Classes aninhadas
aula | GPUOptions.Experimental.VirtualDevices.Builder | Configuration for breaking down a visible GPU into multiple "virtual" devices. |
Constantes
int | MEMORY_LIMIT_MB_FIELD_NUMBER | |
int | PRIORITY_FIELD_NUMBER |
Métodos Públicos
boleano | igual a (objeto obj) |
GPUOptions.Experimental.VirtualDevices estáticos | |
GPUOptions.Experimental.VirtualDevices | |
final static com.google.protobuf.Descriptors.Descriptor | |
flutuador | |
int | getMemoryLimitMbCount () Per "virtual" device memory limit, in MB. |
Listar <Float> | getMemoryLimitMbList () Per "virtual" device memory limit, in MB. |
int | getPriority (int index) Priority values to use with the virtual devices. |
int | getPriorityCount () Priority values to use with the virtual devices. |
List <Integer> | getPriorityList () Priority values to use with the virtual devices. |
int | |
final com.google.protobuf.UnknownFieldSet | |
int | hashCode () |
final booleano | |
GPUOptions.Experimental.VirtualDevices.Builder estático | newBuilder () |
GPUOptions.Experimental.VirtualDevices.Builder estático | newBuilder (protótipo GPUOptions.Experimental.VirtualDevices ) |
GPUOptions.Experimental.VirtualDevices.Builder | |
GPUOptions.Experimental.VirtualDevices estáticos | parseDelimitedFrom (input InputStream) |
GPUOptions.Experimental.VirtualDevices estáticos | parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GPUOptions.Experimental.VirtualDevices estáticos | parseFrom (dados ByteBuffer) |
GPUOptions.Experimental.VirtualDevices estáticos | parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GPUOptions.Experimental.VirtualDevices estáticos | parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GPUOptions.Experimental.VirtualDevices estáticos | parseFrom (com.google.protobuf.CodedInputStream input) |
GPUOptions.Experimental.VirtualDevices estáticos | parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GPUOptions.Experimental.VirtualDevices estáticos | parseFrom (com.google.protobuf.ByteString data) |
GPUOptions.Experimental.VirtualDevices estáticos | parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GPUOptions.Experimental.VirtualDevices estáticos | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático | analisador () |
GPUOptions.Experimental.VirtualDevices.Builder | toBuilder () |
vazio | writeTo (saída com.google.protobuf.CodedOutputStream) |
Métodos herdados
Constantes
public static final int MEMORY_LIMIT_MB_FIELD_NUMBER
Valor Constante: 1
public static final int PRIORITY_FIELD_NUMBER
Valor constante: 2
Métodos Públicos
public boolean equals (Object obj)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public float getMemoryLimitMb (índice int)
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;
memory_limit_mb repeated float memory_limit_mb = 1;
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;
memory_limit_mb repeated float memory_limit_mb = 1;
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;
memory_limit_mb repeated float memory_limit_mb = 1;
público getParserForType ()
public int getPriority (int index)
Priority values to use with the virtual devices. Use the cuda function cudaDeviceGetStreamPriorityRange to query for valid range of values for priority. On a P4000 GPU with cuda 10.1, the priority range reported was 0 for least priority and -1 for greatest priority. If this field is not specified, then the virtual devices will be created with the default. If this field has values set, then the size of this must match with the above memory_limit_mb.
repeated int32 priority = 2;
public int getPriorityCount ()
Priority values to use with the virtual devices. Use the cuda function cudaDeviceGetStreamPriorityRange to query for valid range of values for priority. On a P4000 GPU with cuda 10.1, the priority range reported was 0 for least priority and -1 for greatest priority. If this field is not specified, then the virtual devices will be created with the default. If this field has values set, then the size of this must match with the above memory_limit_mb.
repeated int32 priority = 2;
public List <Integer> getPriorityList ()
Priority values to use with the virtual devices. Use the cuda function cudaDeviceGetStreamPriorityRange to query for valid range of values for priority. On a P4000 GPU with cuda 10.1, the priority range reported was 0 for least priority and -1 for greatest priority. If this field is not specified, then the virtual devices will be created with the default. If this field has values set, then the size of this must match with the above memory_limit_mb.
repeated int32 priority = 2;
public int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public int hashCode ()
public final boolean isInitialized ()
public static GPUOptions.Experimental.VirtualDevices.Builder newBuilder (protótipo GPUOptions.Experimental.VirtualDevices )
public static GPUOptions.Experimental.VirtualDevices parseDelimitedFrom (InputStream input)
Lança
IOException |
---|
public static GPUOptions.Experimental.VirtualDevices parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static GPUOptions.Experimental.VirtualDevices parseFrom (dados ByteBuffer)
Lança
InvalidProtocolBufferException |
---|
public static GPUOptions.Experimental.VirtualDevices parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static GPUOptions.Experimental.VirtualDevices parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static GPUOptions.Experimental.VirtualDevices parseFrom (entrada com.google.protobuf.CodedInputStream)
Lança
IOException |
---|
public static GPUOptions.Experimental.VirtualDevices parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static GPUOptions.Experimental.VirtualDevices parseFrom (com.google.protobuf.ByteString data)
Lança
InvalidProtocolBufferException |
---|
public static GPUOptions.Experimental.VirtualDevices parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static GPUOptions.Experimental.VirtualDevices parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
estática pública analisador ()
public void writeTo (saída com.google.protobuf.CodedOutputStream)
Lança
IOException |
---|