공개 정적 최종 클래스 GPUOptions.Experimental.VirtualDevices
Configuration for breaking down a visible GPU into multiple "virtual" devices.Protobuf 유형
tensorflow.GPUOptions.Experimental.VirtualDevices
중첩 클래스
수업 | GPUOptions.Experimental.VirtualDevices.Builder | Configuration for breaking down a visible GPU into multiple "virtual" devices. |
상수
정수 | MEMORY_LIMIT_MB_FIELD_NUMBER | |
정수 | PRIORITY_FIELD_NUMBER |
공개 방법
부울 | 같음 (객체 객체) |
정적 GPUOptions.Experimental.VirtualDevices | |
GPUOptions.Experimental.VirtualDevices | |
최종 정적 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. |
정수 | |
최종 com.google.protobuf.UnknownFieldSet | |
정수 | 해시코드 () |
최종 부울 | 초기화됨 () |
정적 GPUOptions.Experimental.VirtualDevices.Builder | 새로운 빌더 () |
정적 GPUOptions.Experimental.VirtualDevices.Builder | |
GPUOptions.Experimental.VirtualDevices.Builder | |
정적 GPUOptions.Experimental.VirtualDevices | parsDelimitedFrom (InputStream 입력) |
정적 GPUOptions.Experimental.VirtualDevices | parseDelimitedFrom (InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
정적 GPUOptions.Experimental.VirtualDevices | parsFrom (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 확장Registry) |
정적 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 출력) |
상속된 메서드
상수
공개 정적 최종 int MEMORY_LIMIT_MB_FIELD_NUMBER
상수값: 1
공개 정적 최종 int PRIORITY_FIELD_NUMBER
상수값: 2
공개 방법
공개 부울은 (객체 obj) 와 같습니다 .
공개 정적 최종 com.google.protobuf.Descriptors.Descriptor getDescriptor ()
공개 부동 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;
공개 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 ()
공개 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;
공개 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;
공개 목록<정수> 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;
공개 int getSerializedSize ()
공개 최종 com.google.protobuf.UnknownFieldSet getUnknownFields ()
공개 int hashCode ()
공개 최종 부울 isInitialized ()
공개 정적 GPUOptions.Experimental.VirtualDevices.Builder newBuilder ( GPUOptions.Experimental.VirtualDevices 프로토타입)
공개 정적 GPUOptions.Experimental.VirtualDevicesparseDelimitedFrom (InputStream 입력, com.google.protobuf.ExtensionRegistryLite 확장Registry)
던지기
IO예외 |
---|
공개 정적 GPUOptions.Experimental.VirtualDevicesparseFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite 확장 Registry)
던지기
IO예외 |
---|
공개 정적 GPUOptions.Experimental.VirtualDevices parsFrom (ByteBuffer 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
잘못된프로토콜버퍼예외 |
---|
공개 정적 GPUOptions.Experimental.VirtualDevicesparseFrom (com.google.protobuf.CodedInputStream 입력 )
던지기
IO예외 |
---|
공개 정적 GPUOptions.Experimental.VirtualDevices 구문 분석 (바이트[] 데이터, com.google.protobuf.ExtensionRegistryLite 확장 레지스트리)
던지기
잘못된프로토콜버퍼예외 |
---|
공개 정적 GPUOptions.Experimental.VirtualDevices 구문 분석 (com.google.protobuf.ByteString 데이터)
던지기
잘못된프로토콜버퍼예외 |
---|
공개 정적 GPUOptions.Experimental.VirtualDevicesparseFrom ( InputStream 입력, com.google.protobuf.ExtensionRegistryLite 확장Registry)
던지기
IO예외 |
---|
공개 정적 GPUOptions.Experimental.VirtualDevicesparseFrom (com.google.protobuf.ByteString 데이터, com.google.protobuf.ExtensionRegistryLite 확장 Registry)
던지기
잘못된프로토콜버퍼예외 |
---|
공개 정적 파서 ()
공개 무효 writeTo (com.google.protobuf.CodedOutputStream 출력)
던지기
IO예외 |
---|