パブリック静的最終クラス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. |
定数
整数 | MEMORY_LIMIT_MB_FIELD_NUMBER | |
整数 | PRIORITY_FIELD_NUMBER |
パブリックメソッド
ブール値 | 等しい(オブジェクトオブジェクト) |
静的GPUOptions.Experimental.VirtualDevices | |
GPUOptions.Experimental.VirtualDevices | |
最終的な静的 com.google.protobuf.Descriptors.Descriptor | |
フロート | getMemoryLimitMb (int インデックス) Per "virtual" device memory limit, in MB. |
整数 | getMemoryLimitMbCount () Per "virtual" device memory limit, in MB. |
リスト<浮動小数点数> | getMemoryLimitMbList () Per "virtual" device memory limit, in MB. |
整数 | getPriority (int インデックス) 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 | newBuilder () |
静的GPUOptions.Experimental.VirtualDevices.Builder | |
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 | toビルダー() |
空所 | writeTo (com.google.protobuf.CodedOutputStream 出力) |
継承されたメソッド
定数
パブリック静的最終整数MEMORY_LIMIT_MB_FIELD_NUMBER
定数値: 1
パブリック静的最終整数PRIORITY_FIELD_NUMBER
定数値: 2
パブリックメソッド
public booleanに等しい(オブジェクト obj)
public static Final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public float 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;
public List<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 インデックス)
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 int getSerializedSize ()
public Final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public int hashCode ()
パブリック最終ブール値isInitialized ()
public static GPUOptions.Experimental.VirtualDevices.Builder newBuilder ( GPUOptions.Experimental.VirtualDevicesプロトタイプ)
public static GPUOptions.Experimental.VirtualDevices parseDelimitedFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
IO例外 |
---|
public static GPUOptions.Experimental.VirtualDevices parseFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
IO例外 |
---|
public static GPUOptions.Experimental.VirtualDevices parseFrom (ByteBuffer データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
無効なプロトコルバッファ例外 |
---|
public static GPUOptions.Experimental.VirtualDevices parseFrom (com.google.protobuf.CodedInputStream 入力)
投げる
IO例外 |
---|
public static GPUOptions.Experimental.VirtualDevices parseFrom (byte[] データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
無効なプロトコルバッファ例外 |
---|
public static GPUOptions.Experimental.VirtualDevices parseFrom (com.google.protobuf.ByteString データ)
投げる
無効なプロトコルバッファ例外 |
---|
public static GPUOptions.Experimental.VirtualDevices parseFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
IO例外 |
---|
public static GPUOptions.Experimental.VirtualDevices parseFrom (com.google.protobuf.ByteString データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
無効なプロトコルバッファ例外 |
---|
パブリック静的 パーサー()
public void writeTo (com.google.protobuf.CodedOutputStream 出力)
投げる
IO例外 |
---|