classe finale statica pubblica GPUOptions.Experimental.VirtualDevices
Configuration for breaking down a visible GPU into multiple "virtual" devices.
tensorflow.GPUOptions.Experimental.VirtualDevices
Classi nidificate
classe | GPUOptions.Experimental.VirtualDevices.Builder | Configuration for breaking down a visible GPU into multiple "virtual" devices. |
Costanti
int | MEMORY_LIMIT_MB_FIELD_NUMBER | |
int | PRIORITY_FIELD_NUMBER |
Metodi pubblici
booleano | è uguale a (Oggetto oggetto) |
GPUOptions.Experimental.VirtualDevices statico | |
GPUOptions.Experimental.VirtualDevices | |
com.google.protobuf.Descriptors.Descriptor statico finale | |
galleggiante | getMemoryLimitMb (indice int) Per "virtual" device memory limit, in MB. |
int | getMemoryLimitMbCount () Per "virtual" device memory limit, in MB. |
Elenco<mobile> | getMemoryLimitMbList () Per "virtual" device memory limit, in MB. |
int | getPriority (indice int) Priority values to use with the virtual devices. |
int | getPriorityCount () Priority values to use with the virtual devices. |
Elenco<intero> | getPriorityList () Priority values to use with the virtual devices. |
int | |
finale com.google.protobuf.UnknownFieldSet | |
int | codicehash () |
booleano finale | |
GPUOptions.Experimental.VirtualDevices.Builder statico | |
GPUOptions.Experimental.VirtualDevices.Builder statico | newBuilder (prototipo GPUOptions.Experimental.VirtualDevices ) |
GPUOptions.Experimental.VirtualDevices.Builder | |
GPUOptions.Experimental.VirtualDevices statico | parseDelimitedFrom (input InputStream) |
GPUOptions.Experimental.VirtualDevices statico | parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GPUOptions.Experimental.VirtualDevices statico | parseFrom (dati ByteBuffer) |
GPUOptions.Experimental.VirtualDevices statico | parseFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry) |
GPUOptions.Experimental.VirtualDevices statico | parseFrom (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GPUOptions.Experimental.VirtualDevices statico | parseFrom (ingresso com.google.protobuf.CodedInputStream) |
GPUOptions.Experimental.VirtualDevices statico | parseFrom (byte[] dati, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GPUOptions.Experimental.VirtualDevices statico | parseFrom (dati com.google.protobuf.ByteString) |
GPUOptions.Experimental.VirtualDevices statico | parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GPUOptions.Experimental.VirtualDevices statico | parseFrom (dati com.google.protobuf.ByteString, estensione com.google.protobuf.ExtensionRegistryLiteRegistry) |
statico | analizzatore () |
GPUOptions.Experimental.VirtualDevices.Builder | toBuilder () |
vuoto | writeTo (output com.google.protobuf.CodedOutputStream) |
Metodi ereditati
Costanti
public static final int MEMORY_LIMIT_MB_FIELD_NUMBER
Valore costante: 1
public static final int PRIORITY_FIELD_NUMBER
Valore costante: 2
Metodi pubblici
booleano pubblico è uguale a (Oggetto obj)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public float getMemoryLimitMb (indice 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;
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;
pubblico getParserForType ()
public int getPriority (indice 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;
elenco pubblico<numero intero> 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 ()
pubblico finale com.google.protobuf.UnknownFieldSet getUnknownFields ()
public int hashCode ()
public final booleano isInitialized ()
pubblico statico GPUOptions.Experimental.VirtualDevices.Builder newBuilder (prototipo GPUOptions.Experimental.VirtualDevices )
pubblico statico GPUOptions.Experimental.VirtualDevices parseDelimitedFrom (input InputStream)
Lancia
IOException |
---|
GPUOptions.Experimental.VirtualDevices pubblico statico parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
pubblico statico GPUOptions.Experimental.VirtualDevices parseFrom (dati ByteBuffer)
Lancia
InvalidProtocolBufferException |
---|
GPUOptions.Experimental.VirtualDevices pubblico statico parseFrom (input com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
GPUOptions.Experimental.VirtualDevices pubblico statico parseFrom (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
InvalidProtocolBufferException |
---|
GPUOptions.Experimental.VirtualDevices statico pubblico parseFrom (input com.google.protobuf.CodedInputStream)
Lancia
IOException |
---|
GPUOptions.Experimental.VirtualDevices pubblico statico parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
InvalidProtocolBufferException |
---|
GPUOptions.Experimental.VirtualDevices statico pubblico parseFrom (dati com.google.protobuf.ByteString)
Lancia
InvalidProtocolBufferException |
---|
GPUOptions.Experimental.VirtualDevices pubblico statico parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
GPUOptions.Experimental.VirtualDevices pubblico statico parseFrom (dati com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
InvalidProtocolBufferException |
---|
pubblico statico analizzatore ()
public void writeTo (output com.google.protobuf.CodedOutputStream)
Lancia
IOException |
---|