clase final estática pública GPUOptions.Experimental.VirtualDevices.Builder
Configuration for breaking down a visible GPU into multiple "virtual" devices.Protobuf tipo
tensorflow.GPUOptions.Experimental.VirtualDevices
Métodos públicos
GPUOptions.Experimental.VirtualDevices.Builder | addAllMemoryLimitMb (Iterable <? extiende los valores de Float>) Per "virtual" device memory limit, in MB. |
GPUOptions.Experimental.VirtualDevices.Builder | addAllPriority (Iterable <? extiende valores enteros>) Priority values to use with the virtual devices. |
GPUOptions.Experimental.VirtualDevices.Builder | addMemoryLimitMb (valor flotante) Per "virtual" device memory limit, in MB. |
GPUOptions.Experimental.VirtualDevices.Builder | addPriority (valor int) Priority values to use with the virtual devices. |
GPUOptions.Experimental.VirtualDevices.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
GPUOptions.Experimental.VirtualDevices | construir () |
GPUOptions.Experimental.VirtualDevices | buildPartial () |
GPUOptions.Experimental.VirtualDevices.Builder | claro () |
GPUOptions.Experimental.VirtualDevices.Builder | clearField (campo 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 | clearPriority () Priority values to use with the virtual devices. |
GPUOptions.Experimental.VirtualDevices.Builder | clonar () |
GPUOptions.Experimental.VirtualDevices | |
com.google.protobuf.Descriptors.Descriptor estático final | |
com.google.protobuf.Descriptors.Descriptor | |
flotador | getMemoryLimitMb (índice int) Per "virtual" device memory limit, in MB. |
En t | getMemoryLimitMbCount () Per "virtual" device memory limit, in MB. |
Lista <Float> | getMemoryLimitMbList () Per "virtual" device memory limit, in MB. |
En t | getPriority (índice int) Priority values to use with the virtual devices. |
En t | getPriorityCount () Priority values to use with the virtual devices. |
Lista <Intero> | getPriorityList () Priority values to use with the virtual devices. |
booleano final | |
GPUOptions.Experimental.VirtualDevices.Builder | mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GPUOptions.Experimental.VirtualDevices.Builder | mergeFrom (com.google.protobuf.Message otro) |
GPUOptions.Experimental.VirtualDevices.Builder final | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
GPUOptions.Experimental.VirtualDevices.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
GPUOptions.Experimental.VirtualDevices.Builder | setMemoryLimitMb (índice int, valor flotante) Per "virtual" device memory limit, in MB. |
GPUOptions.Experimental.VirtualDevices.Builder | setPriority (índice int, valor int) Priority values to use with the virtual devices. |
GPUOptions.Experimental.VirtualDevices.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto) |
GPUOptions.Experimental.VirtualDevices.Builder final | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
Métodos heredados
Métodos públicos
public GPUOptions.Experimental.VirtualDevices.Builder addAllMemoryLimitMb ( valores Iterable <? extiende 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 <? extiende Integer> valores)
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 (valor flotante)
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 (valor 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 (campo com.google.protobuf.Descriptors.FieldDescriptor, valor de objeto)
public GPUOptions.Experimental.VirtualDevices.Builder clearField (campo 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;
público estático final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public flotante getMemoryLimitMb (índice 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;
Lista pública <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 index)
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;
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;
public final boolean isInitialized ()
public GPUOptions.Experimental.VirtualDevices.Builder mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
GPUOptions.Experimental.VirtualDevices.Builder final público mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public GPUOptions.Experimental.VirtualDevices.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
public GPUOptions.Experimental.VirtualDevices.Builder setMemoryLimitMb (índice int, valor flotante)
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 index, int value)
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;