GPUOptions.Experimental.VirtualDevices kelas akhir statis publik
Configuration for breaking down a visible GPU into multiple "virtual" devices.
tensorflow.GPUOptions.Experimental.VirtualDevices
Kelas Bersarang
kelas | GPUOptions.Eksperimental.VirtualDevices.Builder | Configuration for breaking down a visible GPU into multiple "virtual" devices. |
Konstanta
ke dalam | MEMORY_LIMIT_MB_FIELD_NUMBER | |
ke dalam | PRIORITY_FIELD_NUMBER |
Metode Publik
boolean | sama dengan (Objek objek) |
GPUOptions.Experimental.VirtualDevices statis | |
Opsi GPU.Eksperimental.Perangkat Virtual | |
com.google.protobuf.Descriptors.Descriptor statis terakhir | |
mengambang | getMemoryLimitMb (indeks int) Per "virtual" device memory limit, in MB. |
ke dalam | dapatkanMemoryLimitMbCount () Per "virtual" device memory limit, in MB. |
Daftar<Mengambang> | dapatkanMemoryLimitMbList () Per "virtual" device memory limit, in MB. |
ke dalam | getPrioritas (indeks int) Priority values to use with the virtual devices. |
ke dalam | dapatkan Jumlah Prioritas () Priority values to use with the virtual devices. |
Daftar<Bilangan Bulat> | dapatkan Daftar Prioritas () Priority values to use with the virtual devices. |
ke dalam | |
final com.google.protobuf.UnknownFieldSet | |
ke dalam | Kode hash () |
boolean terakhir | |
GPUOptions.Experimental.VirtualDevices.Builder statis | |
GPUOptions.Experimental.VirtualDevices.Builder statis | newBuilder (prototipe GPUOptions.Experimental.VirtualDevices ) |
GPUOptions.Eksperimental.VirtualDevices.Builder | |
GPUOptions.Experimental.VirtualDevices statis | parseDelimitedFrom (masukan Aliran Masukan) |
GPUOptions.Experimental.VirtualDevices statis | parseDelimitedFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GPUOptions.Experimental.VirtualDevices statis | parseFrom (data ByteBuffer) |
GPUOptions.Experimental.VirtualDevices statis | parseFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GPUOptions.Experimental.VirtualDevices statis | parseFrom (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GPUOptions.Experimental.VirtualDevices statis | parseFrom (com.google.protobuf.CodedInputStream masukan) |
GPUOptions.Experimental.VirtualDevices statis | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GPUOptions.Experimental.VirtualDevices statis | parseFrom (com.google.protobuf.ByteString data) |
GPUOptions.Experimental.VirtualDevices statis | parseFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GPUOptions.Experimental.VirtualDevices statis | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statis | pengurai () |
GPUOptions.Eksperimental.VirtualDevices.Builder | |
ruang kosong | writeTo (com.google.protobuf.CodedOutputStream keluaran) |
Metode Warisan
Konstanta
int final statis publik MEMORY_LIMIT_MB_FIELD_NUMBER
Nilai Konstan: 1
int final statis publik PRIORITY_FIELD_NUMBER
Nilai Konstan: 2
Metode Publik
boolean publik sama (Obj objek)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public float getMemoryLimitMb (indeks 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;
int publik 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;
Daftar publik<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;
publik dapatkanParserForType ()
publik int getPriority (indeks 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;
int publik 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;
Daftar publik<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;
publik int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
kode hash int publik ()
boolean akhir publik diinisialisasi ()
GPUOptions.Experimental.VirtualDevices.Builder statis publik newBuilder ( prototipe GPUOptions.Experimental.VirtualDevices )
GPUOptions.Experimental.VirtualDevices statis publik parseDelimitedFrom (input InputStream)
Melempar
Pengecualian IO |
---|
GPUOptions.Experimental.VirtualDevices statis publik parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
GPUOptions.Experimental.VirtualDevices statis publik parseFrom (data ByteBuffer)
Melempar
ProtokolBufferException Tidak Valid |
---|
GPUOptions.Experimental.VirtualDevices statis publik parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
GPUOptions.Experimental.VirtualDevices statis publik parseFrom (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
ProtokolBufferException Tidak Valid |
---|
GPUOptions.Experimental.VirtualDevices statis publik parseFrom (com.google.protobuf.CodedInputStream input)
Melempar
Pengecualian IO |
---|
GPUOptions.Experimental.VirtualDevices statis publik parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
ProtokolBufferException Tidak Valid |
---|
GPUOptions.Experimental.VirtualDevices statis publik parseFrom (com.google.protobuf.ByteString data)
Melempar
ProtokolBufferException Tidak Valid |
---|
GPUOptions.Experimental.VirtualDevices statis publik parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
GPUOptions.Experimental.VirtualDevices statis publik parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
ProtokolBufferException Tidak Valid |
---|
statis publik pengurai ()
public void writeTo (com.google.protobuf.CodedOutputStream keluaran)
Melempar
Pengecualian IO |
---|