общедоступный статический конечный класс GPUOptions.Experimental.VirtualDevices.Builder
Configuration for breaking down a visible GPU into multiple "virtual" devices.
tensorflow.GPUOptions.Experimental.VirtualDevices
Публичные методы
GPUOptions.Experimental.VirtualDevices.Builder | addAllMemoryLimitMb (Iterable<? расширяет значения Float>) Per "virtual" device memory limit, in MB. |
GPUOptions.Experimental.VirtualDevices.Builder | addAllPriority (Iterable<? расширяет значения Integer>) Priority values to use with the virtual devices. |
GPUOptions.Experimental.VirtualDevices.Builder | addMemoryLimitMb (плавающее значение) Per "virtual" device memory limit, in MB. |
GPUOptions.Experimental.VirtualDevices.Builder | addPriority (целое значение) Priority values to use with the virtual devices. |
GPUOptions.Experimental.VirtualDevices.Builder | addRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта) |
GPUOptions.Experimental.VirtualDevices | строить () |
GPUOptions.Experimental.VirtualDevices | |
GPUOptions.Experimental.VirtualDevices.Builder | прозрачный () |
GPUOptions.Experimental.VirtualDevices.Builder | ClearField (поле com.google.protobuf.Descriptors.FieldDescriptor) |
GPUOptions.Experimental.VirtualDevices.Builder | ОчиститьМемориЛимитМб () Per "virtual" device memory limit, in MB. |
GPUOptions.Experimental.VirtualDevices.Builder | ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
GPUOptions.Experimental.VirtualDevices.Builder | очиститьПриоритет () Priority values to use with the virtual devices. |
GPUOptions.Experimental.VirtualDevices.Builder | клон () |
GPUOptions.Experimental.VirtualDevices | |
окончательный статический com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
плавать | getMemoryLimitMb (индекс целого числа) Per "virtual" device memory limit, in MB. |
интервал | getMemoryLimitMbCount () Per "virtual" device memory limit, in MB. |
Список<С плавающей запятой> | getMemoryLimitMbList () Per "virtual" device memory limit, in MB. |
интервал | getPriority (целевой индекс) Priority values to use with the virtual devices. |
интервал | getPriorityCount () Priority values to use with the virtual devices. |
Список<Целое число> | getPriorityList () Priority values to use with the virtual devices. |
последнее логическое значение | |
GPUOptions.Experimental.VirtualDevices.Builder | mergeFrom (ввод com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
GPUOptions.Experimental.VirtualDevices.Builder | mergeFrom (com.google.protobuf.Message другое) |
окончательный вариант GPUOptions.Experimental.VirtualDevices.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
GPUOptions.Experimental.VirtualDevices.Builder | setField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта) |
GPUOptions.Experimental.VirtualDevices.Builder | setMemoryLimitMb (индекс int, значение с плавающей запятой) Per "virtual" device memory limit, in MB. |
GPUOptions.Experimental.VirtualDevices.Builder | setPriority (целое число, целое значение) Priority values to use with the virtual devices. |
GPUOptions.Experimental.VirtualDevices.Builder | setRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, индекс int, значение объекта) |
окончательный вариант GPUOptions.Experimental.VirtualDevices.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
Унаследованные методы
Публичные методы
public GPUOptions.Experimental.VirtualDevices.Builder addAllMemoryLimitMb (Iterable<? расширяет значения 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 (Iterable<? расширяет значения 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 (плавающее значение)
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 (целое значение)
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 (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
public GPUOptions.Experimental.VirtualDevices.Builder ClearField (поле 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;
общедоступный статический окончательный com.google.protobuf.Descriptors.Descriptor getDescriptor ()
общедоступный com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
общедоступное число с плавающей запятой getMemoryLimitMb (индекс 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;
общедоступный список<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 (индекс 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;
общедоступный список<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;
публичное окончательное логическое значение isInitialized ()
public GPUOptions.Experimental.VirtualDevices.Builder mergeFrom (вход com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
Исключение IO |
---|
public GPUOptions.Experimental.VirtualDevices.Builder mergeFrom (com.google.protobuf.Message другое)
общедоступный окончательный вариант GPUOptions.Experimental.VirtualDevices.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public GPUOptions.Experimental.VirtualDevices.Builder setField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
public GPUOptions.Experimental.VirtualDevices.Builder setMemoryLimitMb (индекс 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 GPUOptions.Experimental.VirtualDevices.Builder setPriority (индекс int, значение 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;