SkillExecutionDeviceCPU Class
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.
Provides a CPU execution device and information that can be used to infer if a skill could be run with it appropriately in the consumer's context. Also acts as a static factory for itself.
public ref class SkillExecutionDeviceCPU sealed : Microsoft::AI::Skills::SkillInterfacePreview::ISkillExecutionDevice
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.AI.Skills.SkillInterfacePreview.SkillsAPIContract), 65536)]
[Windows.Foundation.Metadata.Static(typeof(Microsoft.AI.Skills.SkillInterfacePreview.SkillExecutionDeviceCPUStatics), 65536, "Microsoft.AI.Skills.SkillInterfacePreview.SkillsAPIContract")]
public sealed class SkillExecutionDeviceCPU : Microsoft.AI.Skills.SkillInterfacePreview.ISkillExecutionDevice
type SkillExecutionDeviceCPU = class
interface ISkillExecutionDevice
Public NotInheritable Class SkillExecutionDeviceCPU
Implements ISkillExecutionDevice
- Inheritance
-
SkillExecutionDeviceCPU
- Attributes
-
Windows.Foundation.Metadata.MarshalingBehaviorAttribute Windows.Foundation.Metadata.ThreadingAttribute Windows.Foundation.Metadata.ContractVersionAttribute Windows.Foundation.Metadata.StaticAttribute
- Implements
Properties
| CoreCount |
The amount of processing cores available on this CPU device. |
| ExecutionDeviceKind |
The SkillExecutionDeviceKind of this device. |
| Name |
The name of this device. |
Methods
| Create() |
Instantiates a SkillExecutionDeviceCPU and returns it as an ISkillExecutionDevice. |