GPUOptions.Experimental.VirtualDevices.Builder kelas akhir statis publik
Configuration for breaking down a visible GPU into multiple "virtual" devices.
tensorflow.GPUOptions.Experimental.VirtualDevices
Metode Publik
GPUOptions.Eksperimental.VirtualDevices.Builder | addAllMemoryLimitMb (nilai Iterable<? extends Float>) Per "virtual" device memory limit, in MB. |
GPUOptions.Eksperimental.VirtualDevices.Builder | addAllPriority (nilai Iterable<? extends Integer>) Priority values to use with the virtual devices. |
GPUOptions.Eksperimental.VirtualDevices.Builder | addMemoryLimitMb (nilai mengambang) Per "virtual" device memory limit, in MB. |
GPUOptions.Eksperimental.VirtualDevices.Builder | tambahkanPrioritas (nilai int) Priority values to use with the virtual devices. |
GPUOptions.Eksperimental.VirtualDevices.Builder | addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek) |
Opsi GPU.Eksperimental.Perangkat Virtual | membangun () |
Opsi GPU.Eksperimental.Perangkat Virtual | |
GPUOptions.Eksperimental.VirtualDevices.Builder | jernih () |
GPUOptions.Eksperimental.VirtualDevices.Builder | clearField (bidang com.google.protobuf.Descriptors.FieldDescriptor) |
GPUOptions.Eksperimental.VirtualDevices.Builder | jelasMemoryLimitMb () Per "virtual" device memory limit, in MB. |
GPUOptions.Eksperimental.VirtualDevices.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
GPUOptions.Eksperimental.VirtualDevices.Builder | hapus Prioritas () Priority values to use with the virtual devices. |
GPUOptions.Eksperimental.VirtualDevices.Builder | klon () |
Opsi GPU.Eksperimental.Perangkat Virtual | |
com.google.protobuf.Descriptors.Descriptor statis terakhir | |
com.google.protobuf.Descriptors.Descriptor | |
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. |
boolean terakhir | |
GPUOptions.Eksperimental.VirtualDevices.Builder | mergeFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GPUOptions.Eksperimental.VirtualDevices.Builder | mergeFrom (com.google.protobuf.Pesan lainnya) |
GPUOptions.Experimental.VirtualDevices.Builder terakhir | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
GPUOptions.Eksperimental.VirtualDevices.Builder | setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek) |
GPUOptions.Eksperimental.VirtualDevices.Builder | setMemoryLimitMb (indeks int, nilai float) Per "virtual" device memory limit, in MB. |
GPUOptions.Eksperimental.VirtualDevices.Builder | setPrioritas (indeks int, nilai int) Priority values to use with the virtual devices. |
GPUOptions.Eksperimental.VirtualDevices.Builder | setRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek) |
GPUOptions.Experimental.VirtualDevices.Builder terakhir | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
Metode Warisan
Metode Publik
publik GPUOptions.Experimental.VirtualDevices.Builder addAllMemoryLimitMb (nilai Iterable<? extends Float>)
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 GPUOptions.Experimental.VirtualDevices.Builder addAllPriority (nilai Iterable<? extends Integer>)
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 GPUOptions.Experimental.VirtualDevices.Builder addMemoryLimitMb (nilai float)
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;
GPUOptions.Experimental.VirtualDevices.Builder addPriority (nilai int) publik
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 GPUOptions.Experimental.VirtualDevices.Builder addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
publik GPUOptions.Experimental.VirtualDevices.Builder clearField (bidang com.google.protobuf.Descriptors.FieldDescriptor)
GPUOptions.Experimental.VirtualDevices.Builder publik clearMemoryLimitMb ()
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;
GPUOptions.Experimental.VirtualDevices.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) publik
Opsi GPU publik.Eksperimental.VirtualDevices.Builder clearPriority ()
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 static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
com.google.protobuf.Descriptors.Descriptor publik getDescriptorForType ()
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 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;
boolean akhir publik diinisialisasi ()
GPUOptions.Experimental.VirtualDevices.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
GPUOptions.Experimental.VirtualDevices.Builder mergeFrom (com.google.protobuf.Message lainnya) publik
GPUOptions.Experimental.VirtualDevices.Builder final publik menggabungkan UnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public GPUOptions.Experimental.VirtualDevices.Builder setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
GPUOptions.Experimental.VirtualDevices.Builder setMemoryLimitMb (indeks int, nilai float) publik
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;
GPUOptions.Experimental.VirtualDevices.Builder setPriority (indeks int, nilai 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;