publiczna statyczna klasa końcowa GPUOptions.Experimental.VirtualDevices.Builder
Configuration for breaking down a visible GPU into multiple "virtual" devices.
tensorflow.GPUOptions.Experimental.VirtualDevices
Metody publiczne
GPUOptions.Experimental.VirtualDevices.Builder | addAllMemoryLimitMb (wartości Iterable<? rozszerza Float>) Per "virtual" device memory limit, in MB. |
GPUOptions.Experimental.VirtualDevices.Builder | addAllPriority (Iterable<? rozszerza wartości Integer>) Priority values to use with the virtual devices. |
GPUOptions.Experimental.VirtualDevices.Builder | addMemoryLimitMb (wartość zmiennoprzecinkowa) Per "virtual" device memory limit, in MB. |
GPUOptions.Experimental.VirtualDevices.Builder | addPriority (wartość int) Priority values to use with the virtual devices. |
GPUOptions.Experimental.VirtualDevices.Builder | addRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu) |
Opcje GPU. Eksperymentalne. Urządzenia wirtualne | zbudować () |
Opcje GPU. Eksperymentalne. Urządzenia wirtualne | |
GPUOptions.Experimental.VirtualDevices.Builder | jasne () |
GPUOptions.Experimental.VirtualDevices.Builder | clearField (pole com.google.protobuf.Descriptors.FieldDescriptor) |
GPUOptions.Experimental.VirtualDevices.Builder | clearMemoryLimitMb () Per "virtual" device memory limit, in MB. |
GPUOptions.Experimental.VirtualDevices.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
GPUOptions.Experimental.VirtualDevices.Builder | wyczyśćPriorytet () Priority values to use with the virtual devices. |
GPUOptions.Experimental.VirtualDevices.Builder | klon () |
Opcje GPU. Eksperymentalne. Urządzenia wirtualne | |
końcowy statyczny com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
platforma | getMemoryLimitMb (indeks int) Per "virtual" device memory limit, in MB. |
wew | getMemoryLimitMbCount () Per "virtual" device memory limit, in MB. |
Lista<Float> | getMemoryLimitMbList () Per "virtual" device memory limit, in MB. |
wew | getPriority (indeks int) Priority values to use with the virtual devices. |
wew | getPriorityCount () Priority values to use with the virtual devices. |
Lista<liczba całkowita> | pobierz listę priorytetów () Priority values to use with the virtual devices. |
końcowa wartość logiczna | |
GPUOptions.Experimental.VirtualDevices.Builder | mergeFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
GPUOptions.Experimental.VirtualDevices.Builder | mergeFrom (com.google.protobuf.Wiadomość inna) |
final GPUOptions.Experimental.VirtualDevices.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldUstaw nieznane pola) |
GPUOptions.Experimental.VirtualDevices.Builder | setField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu) |
GPUOptions.Experimental.VirtualDevices.Builder | setMemoryLimitMb (indeks int, wartość zmiennoprzecinkowa) Per "virtual" device memory limit, in MB. |
GPUOptions.Experimental.VirtualDevices.Builder | setPriority (int indeks, int wartość) Priority values to use with the virtual devices. |
GPUOptions.Experimental.VirtualDevices.Builder | setRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, indeks int, wartość obiektu) |
final GPUOptions.Experimental.VirtualDevices.Builder | setUnknownFields (com.google.protobuf.UnknownFieldUstaw nieznane pola) |
Metody dziedziczone
Metody publiczne
public GPUOptions.Experimental.VirtualDevices.Builder addAllMemoryLimitMb (wartości Iterable<? rozszerza 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;
public GPUOptions.Experimental.VirtualDevices.Builder addAllPriority (wartości Iterable<? rozszerza 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;
public GPUOptions.Experimental.VirtualDevices.Builder addMemoryLimitMb (wartość zmiennoprzecinkowa)
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 GPUOptions.Experimental.VirtualDevices.Builder addPriority (wartość 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 GPUOptions.Experimental.VirtualDevices.Builder addRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu)
publiczne GPUOptions.Experimental.VirtualDevices.Builder clearField (pole com.google.protobuf.Descriptors.FieldDescriptor)
public GPUOptions.Experimental.VirtualDevices.Builder 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;
public GPUOptions.Experimental.VirtualDevices.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
public GPUOptions.Experimental.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 ()
publiczny com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
publiczny 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;
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;
public 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;
publiczny 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;
publiczna końcowa wartość logiczna isInitialized ()
publiczne GPUOptions.Experimental.VirtualDevices.Builder mergeFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite rozszerzenieRegistry)
Rzuca
Wyjątek IO |
---|
publiczny końcowy GPUOptions.Experimental.VirtualDevices.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public GPUOptions.Experimental.VirtualDevices.Builder setField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu)
public GPUOptions.Experimental.VirtualDevices.Builder setMemoryLimitMb (indeks int, wartość zmiennoprzecinkowa)
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 GPUOptions.Experimental.VirtualDevices.Builder setPriority (int indeks, int wartość)
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;