public static clase final GPUOptions.Experimental.VirtualDevices
Configuration for breaking down a visible GPU into multiple "virtual" devices.Protobuf tipo
tensorflow.GPUOptions.Experimental.VirtualDevices
Clases anidadas
clase | GPUOptions.Experimental.VirtualDevices.Builder | Configuration for breaking down a visible GPU into multiple "virtual" devices. |
Constantes
En t | MEMORY_LIMIT_MB_FIELD_NUMBER | |
En t | PRIORITY_FIELD_NUMBER |
Métodos públicos
booleano | es igual a (Objeto obj) |
static GPUOptions.Experimental.VirtualDevices | |
GPUOptions.Experimental.VirtualDevices | |
com.google.protobuf.Descriptors.Descriptor estático final | |
flotador | getMemoryLimitMb (índice int) Per "virtual" device memory limit, in MB. |
En t | getMemoryLimitMbCount () Per "virtual" device memory limit, in MB. |
Lista <Float> | getMemoryLimitMbList () Per "virtual" device memory limit, in MB. |
En t | getPriority (índice int) Priority values to use with the virtual devices. |
En t | getPriorityCount () Priority values to use with the virtual devices. |
Lista <Intero> | getPriorityList () Priority values to use with the virtual devices. |
En t | |
final com.google.protobuf.UnknownFieldSet | |
En t | hashCode () |
booleano final | |
static GPUOptions.Experimental.VirtualDevices.Builder | newBuilder () |
static GPUOptions.Experimental.VirtualDevices.Builder | newBuilder (prototipo de GPUOptions.Experimental.VirtualDevices ) |
GPUOptions.Experimental.VirtualDevices.Builder | |
static GPUOptions.Experimental.VirtualDevices | parseDelimitedFrom (entrada InputStream) |
static GPUOptions.Experimental.VirtualDevices | parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GPUOptions.Experimental.VirtualDevices | parseFrom (datos ByteBuffer) |
static GPUOptions.Experimental.VirtualDevices | parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GPUOptions.Experimental.VirtualDevices | parseFrom (datos ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GPUOptions.Experimental.VirtualDevices | parseFrom (entrada com.google.protobuf.CodedInputStream) |
static GPUOptions.Experimental.VirtualDevices | parseFrom (byte [] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GPUOptions.Experimental.VirtualDevices | parseFrom (datos com.google.protobuf.ByteString) |
static GPUOptions.Experimental.VirtualDevices | parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GPUOptions.Experimental.VirtualDevices | parseFrom (datos com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático | analizador () |
GPUOptions.Experimental.VirtualDevices.Builder | toBuilder () |
vacío | writeTo (salida de com.google.protobuf.CodedOutputStream) |
Métodos heredados
Constantes
public static final int MEMORY_LIMIT_MB_FIELD_NUMBER
Valor constante: 1
público estático final int PRIORITY_FIELD_NUMBER
Valor constante: 2
Métodos públicos
public boolean es igual a (Object obj)
público estático final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public flotante 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;
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;
Lista pública <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;
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 ( GPUOptions.Experimental.VirtualDevices prototype)
public static GPUOptions.Experimental.VirtualDevices parseDelimitedFrom (InputStream input)
Lanza
IOException |
---|
public static GPUOptions.Experimental.VirtualDevices parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
public static GPUOptions.Experimental.VirtualDevices parseFrom (ByteBuffer datos)
Lanza
InvalidProtocolBufferException |
---|
public static GPUOptions.Experimental.VirtualDevices parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
public static GPUOptions.Experimental.VirtualDevices parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
InvalidProtocolBufferException |
---|
public static GPUOptions.Experimental.VirtualDevices parseFrom (com.google.protobuf.CodedInputStream input)
Lanza
IOException |
---|
public static GPUOptions.Experimental.VirtualDevices parseFrom (byte [] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
InvalidProtocolBufferException |
---|
public static GPUOptions.Experimental.VirtualDevices parseFrom (com.google.protobuf.ByteString data)
Lanza
InvalidProtocolBufferException |
---|
public static GPUOptions.Experimental.VirtualDevices parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
public static GPUOptions.Experimental.VirtualDevices parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
InvalidProtocolBufferException |
---|
público estático analizador ()
public void writeTo (salida de com.google.protobuf.CodedOutputStream)
Lanza
IOException |
---|