מחלקה סופית סטטית ציבורית GPUOptions.Experimental.VirtualDevices
Configuration for breaking down a visible GPU into multiple "virtual" devices.
tensorflow.GPUOptions.Experimental.VirtualDevices
כיתות מקוננות
מַחלָקָה | GPUOptions.Experimental.VirtualDevices.Builder | Configuration for breaking down a visible GPU into multiple "virtual" devices. |
קבועים
int | MEMORY_LIMIT_MB_FIELD_NUMBER | |
int | PRIORITY_FIELD_NUMBER |
שיטות ציבוריות
בוליאני | שווה (Object obj) |
סטטי GPUOptions.Experimental.VirtualDevices | |
GPUOptions.Experimental.VirtualDevices | |
final static 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. |
int | |
final com.google.protobuf.UnknownFieldSet | |
int | hashcode () |
בוליאנית סופית | |
סטטי GPUOptions.Experimental.VirtualDevices.Builder | newBuilder () |
סטטי GPUOptions.Experimental.VirtualDevices.Builder | newBuilder (אב-טיפוס GPUOptions.Experimental.VirtualDevices ) |
GPUOptions.Experimental.VirtualDevices.Builder | |
סטטי GPUOptions.Experimental.VirtualDevices | parseDelimitedFrom (קלט InputStream) |
סטטי GPUOptions.Experimental.VirtualDevices | parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטטי GPUOptions.Experimental.VirtualDevices | parseFrom (נתוני ByteBuffer) |
סטטי GPUOptions.Experimental.VirtualDevices | parseFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטטי GPUOptions.Experimental.VirtualDevices | parseFrom (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטטי GPUOptions.Experimental.VirtualDevices | parseFrom (קלט com.google.protobuf.CodedInputStream) |
סטטי GPUOptions.Experimental.VirtualDevices | parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטטי GPUOptions.Experimental.VirtualDevices | parseFrom (נתוני com.google.protobuf.ByteString) |
סטטי GPUOptions.Experimental.VirtualDevices | parseFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטטי GPUOptions.Experimental.VirtualDevices | parseFrom (נתוני com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סטָטִי | מנתח () |
GPUOptions.Experimental.VirtualDevices.Builder | toBuilder () |
בָּטֵל | writeTo (פלט com.google.protobuf.CodedOutputStream) |
שיטות בירושה
קבועים
אינט סופי סטטי ציבורי MEMORY_LIMIT_MB_FIELD_NUMBER
ערך קבוע: 1
גמר סטטי ציבורי PRIORITY_FIELD_NUMBER
ערך קבוע: 2
שיטות ציבוריות
שווה ערך בוליאני ציבורי (Object obj)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
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;
פּוּמְבֵּי getParserForType ()
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 int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public int hashCode ()
בוליאני הסופי הציבורי הוא אתחול ()
ציבורי סטטי GPUOptions.Experimental.VirtualDevices.Builder newBuilder (אב-טיפוס GPUOptions.Experimental.VirtualDevices )
Public static GPUOptions.Experimental.VirtualDevices parseDelimitedFrom (קלט זרם קלט)
זורק
IOException |
---|
Public static GPUOptions.Experimental.VirtualDevices parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
IOException |
---|
Public static GPUOptions.Experimental.VirtualDevices parseFrom (נתוני ByteBuffer)
זורק
InvalidProtocolBufferException |
---|
Public static GPUOptions.Experimental.VirtualDevices parseFrom (com.google.protobuf.CodedInputStream קלט, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
IOException |
---|
Public static GPUOptions.Experimental.VirtualDevices parseFrom (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
InvalidProtocolBufferException |
---|
Public static GPUOptions.Experimental.VirtualDevices parseFrom (קלט com.google.protobuf.CodedInputStream)
זורק
IOException |
---|
Public static GPUOptions.Experimental.VirtualDevices parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
InvalidProtocolBufferException |
---|
Public static GPUOptions.Experimental.VirtualDevices parseFrom (נתוני com.google.protobuf.ByteString)
זורק
InvalidProtocolBufferException |
---|
Public static GPUOptions.Experimental.VirtualDevices parseFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
IOException |
---|
Public static GPUOptions.Experimental.VirtualDevices parseFrom (נתוני com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
InvalidProtocolBufferException |
---|
סטטי ציבורי מנתח ()
public void writeTo (פלט com.google.protobuf.CodedOutputStream)
זורק
IOException |
---|