AIComputeDevice Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public enum class AIComputeDevice
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.AI.AIComputeContract, 65536)]
/// [Windows.Foundation.Metadata.Experimental]
enum class AIComputeDevice
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.AI.AIComputeContract), 65536)]
[Windows.Foundation.Metadata.Experimental]
public enum AIComputeDevice
var value = Microsoft.Windows.AI.AIComputeDevice.default
Public Enum AIComputeDevice
- Inheritance
-
AIComputeDevice
- Attributes
Fields
| Name | Value | Description |
|---|---|---|
| Default | 0 | |
| CPU | 1 | |
| NPU | 2 | |
| GPU | 3 |