classe finale statique publique GPUOptions.Experimental.VirtualDevices
Configuration for breaking down a visible GPU into multiple "virtual" devices.
tensorflow.GPUOptions.Experimental.VirtualDevices
de type Protobuf Classes imbriquées
classe | 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éthodes publiques
booléen | est égal à (Obj objet) |
GPUOptions.Experimental.VirtualDevices statique | |
GPUOptions.Experimental.VirtualDevices | |
final statique com.google.protobuf.Descriptors.Descriptor | |
flotter | getMemoryLimitMb (index int) Per "virtual" device memory limit, in MB. |
int | getMemoryLimitMbCount () Per "virtual" device memory limit, in MB. |
Liste<Flottant> | getMemoryLimitMbList () Per "virtual" device memory limit, in MB. |
int | getPriority (index entier) Priority values to use with the virtual devices. |
int | getPriorityCount () Priority values to use with the virtual devices. |
Liste<Entier> | getPriorityList () Priority values to use with the virtual devices. |
int | |
final com.google.protobuf.UnknownFieldSet | |
int | |
booléen final | |
GPUOptions.Experimental.VirtualDevices.Builder statique | |
GPUOptions.Experimental.VirtualDevices.Builder statique | newBuilder (prototype GPUOptions.Experimental.VirtualDevices ) |
GPUOptions.Experimental.VirtualDevices.Builder | |
GPUOptions.Experimental.VirtualDevices statique | parseDelimitedFrom (entrée InputStream) |
GPUOptions.Experimental.VirtualDevices statique | parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GPUOptions.Experimental.VirtualDevices statique | parseFrom (données ByteBuffer) |
GPUOptions.Experimental.VirtualDevices statique | parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GPUOptions.Experimental.VirtualDevices statique | parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GPUOptions.Experimental.VirtualDevices statique | parseFrom (entrée com.google.protobuf.CodedInputStream) |
GPUOptions.Experimental.VirtualDevices statique | parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GPUOptions.Experimental.VirtualDevices statique | parseFrom (données com.google.protobuf.ByteString) |
GPUOptions.Experimental.VirtualDevices statique | parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GPUOptions.Experimental.VirtualDevices statique | parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statique | analyseur () |
GPUOptions.Experimental.VirtualDevices.Builder | toBuilder () |
vide | writeTo (sortie com.google.protobuf.CodedOutputStream) |
Méthodes héritées
Constantes
public statique final int MEMORY_LIMIT_MB_FIELD_NUMBER
Valeur constante : 1
public statique final int PRIORITY_FIELD_NUMBER
Valeur constante : 2
Méthodes publiques
public booléen égal (Objet obj)
public statique final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public float getMemoryLimitMb (index 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;
liste publique<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;
publique getParserForType ()
public int getPriority (index int)
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;
liste publique<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 ()
code de hachage int public ()
public final booléen isInitialized ()
public statique GPUOptions.Experimental.VirtualDevices.Builder newBuilder (prototype GPUOptions.Experimental.VirtualDevices )
public statique GPUOptions.Experimental.VirtualDevices parseDelimitedFrom (entrée InputStream)
Jetés
IOException |
---|
public statique GPUOptions.Experimental.VirtualDevices parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public statique GPUOptions.Experimental.VirtualDevices parseFrom (données ByteBuffer)
Jetés
InvalidProtocolBufferException |
---|
public statique GPUOptions.Experimental.VirtualDevices parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public statique GPUOptions.Experimental.VirtualDevices parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public statique GPUOptions.Experimental.VirtualDevices parseFrom (entrée com.google.protobuf.CodedInputStream)
Jetés
IOException |
---|
public statique GPUOptions.Experimental.VirtualDevices parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public statique GPUOptions.Experimental.VirtualDevices parseFrom (données com.google.protobuf.ByteString)
Jetés
InvalidProtocolBufferException |
---|
public statique GPUOptions.Experimental.VirtualDevices parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public statique GPUOptions.Experimental.VirtualDevices parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public statique analyseur ()
public void writeTo (sortie com.google.protobuf.CodedOutputStream)
Jetés
IOException |
---|