מחלקה סופית סטטית ציבורית 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<? מרחיב ערכי אינטגר>) 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 (int value) Priority values to use with the virtual devices. |
GPUOptions.Experimental.VirtualDevices.Builder | addRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט) |
GPUOptions.Experimental.VirtualDevices | לבנות () |
GPUOptions.Experimental.VirtualDevices | buildPartial () |
GPUOptions.Experimental.VirtualDevices.Builder | ברור () |
GPUOptions.Experimental.VirtualDevices.Builder | clearField (שדה 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 | שיבוט () |
GPUOptions.Experimental.VirtualDevices | |
final static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
לָצוּף | getMemoryLimitMb (int index) Per "virtual" device memory limit, in MB. |
int | getMemoryLimitMbCount () Per "virtual" device memory limit, in MB. |
רשימה <צף> | getMemoryLimitMbList () Per "virtual" device memory limit, in MB. |
int | getPriority (int index) Priority values to use with the virtual devices. |
int | 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 אחר) |
final GPUOptions.Experimental.VirtualDevices.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
GPUOptions.Experimental.VirtualDevices.Builder | setField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט) |
GPUOptions.Experimental.VirtualDevices.Builder | setMemoryLimitMb (אינדקס אינט, ערך צף) Per "virtual" device memory limit, in MB. |
GPUOptions.Experimental.VirtualDevices.Builder | setPriority (int index, int value) Priority values to use with the virtual devices. |
GPUOptions.Experimental.VirtualDevices.Builder | setRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, אינדקס אינט, ערך אובייקט) |
final GPUOptions.Experimental.VirtualDevices.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
שיטות בירושה
שיטות ציבוריות
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 (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;
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;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public float getMemoryLimitMb (אינדקס אינט)
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 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;
רשימה ציבורית<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 GPUOptions.Experimental.VirtualDevices.Builder mergeFrom (com.google.protobuf.CodedInputStream קלט, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
IOException |
---|
Public final GPUOptions.Experimental.VirtualDevices.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
Public GPUOptions.Experimental.VirtualDevices.Builder setField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט)
Public GPUOptions.Experimental.VirtualDevices.Builder setMemoryLimitMb (אינדקס אינט, ערך צף)
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;