LearningModelFeatureKind LearningModelFeatureKind LearningModelFeatureKind LearningModelFeatureKind LearningModelFeatureKind Enum

Definition

Input and output feature kinds for a machine learning model.

public : enum class LearningModelFeatureKind
enum class winrt::Windows::AI::MachineLearning::LearningModelFeatureKind : int32_t
public enum LearningModelFeatureKind
Public Enum LearningModelFeatureKind
var value = Windows.AI.MachineLearning.LearningModelFeatureKind.image;
Attributes

Windows 10 requirements

Device family
Windows 10, version 1809 (introduced v10.0.17763.0)
API contract
Windows.AI.MachineLearning.MachineLearningContract (introduced v1)

Fields

Image Image Image Image Image 3

The feature is an image, so use ImageFeatureDescriptor.

Map Map Map Map Map 2

The feature is a map, so use MapFeatureDescriptor.

Sequence Sequence Sequence Sequence Sequence 1

The feature is a sequence, so use SequenceFeatureDescriptor.

Tensor Tensor Tensor Tensor Tensor 0

The feature is a tensor, so use TensorFeatureDescriptor.

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.

See also