パブリック静的最終クラス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<? extends Float> 値) Per "virtual" device memory limit, in MB. |
GPUOptions.Experimental.VirtualDevices.Builder | addAllPriority (Iterable<? extends Integer> 値) 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値) 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 | クリア優先度() Priority values to use with the virtual devices. |
GPUOptions.Experimental.VirtualDevices.Builder | クローン() |
GPUOptions.Experimental.VirtualDevices | |
最終的な静的 com.google.protobuf.Descriptors.Descriptor | |
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. |
最終ブール値 | |
GPUOptions.Experimental.VirtualDevices.Builder | mergeFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GPUOptions.Experimental.VirtualDevices.Builder | mergeFrom (com.google.protobuf.Message other) |
最終的なGPUOptions.Experimental.VirtualDevices.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet 不明フィールド) |
GPUOptions.Experimental.VirtualDevices.Builder | setField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値) |
GPUOptions.Experimental.VirtualDevices.Builder | setMemoryLimitMb (int インデックス、float 値) Per "virtual" device memory limit, in MB. |
GPUOptions.Experimental.VirtualDevices.Builder | setPriority (int インデックス、int 値) Priority values to use with the virtual devices. |
GPUOptions.Experimental.VirtualDevices.Builder | setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、int インデックス、オブジェクト値) |
最終的なGPUOptions.Experimental.VirtualDevices.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
継承されたメソッド
パブリックメソッド
public GPUOptions.Experimental.VirtualDevices.Builder addAllMemoryLimitMb (Iterable<? extends 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<? extends 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 値)
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 (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;
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;
パブリック最終ブール値isInitialized ()
public GPUOptions.Experimental.VirtualDevices.Builder mergeFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
IO例外 |
---|
public Final GPUOptions.Experimental.VirtualDevices.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)
public GPUOptions.Experimental.VirtualDevices.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値)
public GPUOptions.Experimental.VirtualDevices.Builder setMemoryLimitMb (int インデックス、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 setPriority (int インデックス、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;