LearningModelFeatureKind 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.
Input and output feature kinds for a machine learning model.
public enum class LearningModelFeatureKind
/// [Windows.Foundation.Metadata.ContractVersion(Windows.AI.MachineLearning.MachineLearningContract, 65536)]
enum class LearningModelFeatureKind
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.AI.MachineLearning.MachineLearningContract), 65536)]
public enum LearningModelFeatureKind
var value = Windows.AI.MachineLearning.LearningModelFeatureKind.tensor
Public Enum LearningModelFeatureKind
- Inheritance
-
LearningModelFeatureKind
- Attributes
Windows requirements
Device family |
Windows 10, version 1809 (introduced in 10.0.17763.0)
|
API contract |
Windows.AI.MachineLearning.MachineLearningContract (introduced in v1.0)
|
Fields
Name | Value | Description |
---|---|---|
Tensor | 0 | The feature is a tensor, so use TensorFeatureDescriptor. |
Sequence | 1 | The feature is a sequence, so use SequenceFeatureDescriptor. |
Map | 2 | The feature is a map, so use MapFeatureDescriptor. |
Image | 3 | The feature is an image, so use ImageFeatureDescriptor. |
Remarks
Each of these maps to a corresponding feature descriptor that can be used to learn more about how to pass the feature into and out of the model.
Windows Server
To use this API on Windows Server, you must use Windows Server 2019 with Desktop Experience.
Thread safety
This API is thread-safe.