TensorVariableDescriptorPreview TensorVariableDescriptorPreview TensorVariableDescriptorPreview TensorVariableDescriptorPreview TensorVariableDescriptorPreview Class

Definition

Deprecated. Represents a Tensor variable's descriptor information.

public : sealed class TensorVariableDescriptorPreview : ILearningModelVariableDescriptorPreview, ITensorVariableDescriptorPreview
struct winrt::Windows::AI::MachineLearning::Preview::TensorVariableDescriptorPreview : ILearningModelVariableDescriptorPreview, ITensorVariableDescriptorPreview
public sealed class TensorVariableDescriptorPreview : ILearningModelVariableDescriptorPreview, ITensorVariableDescriptorPreview
Public NotInheritable Class TensorVariableDescriptorPreview Implements ILearningModelVariableDescriptorPreview, ITensorVariableDescriptorPreview
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10, version 1803 (introduced v10.0.17134.0)
API contract
Windows.AI.MachineLearning.Preview.MachineLearningPreviewContract (introduced v1)

Remarks

Warning

This is a deprecated API. Please use the Windows.AI.MachineLearning namespace instead.

This type maps to a multi-dimensional array or the .NET Tensor

A tensor type, regardless of its dimension, is mapped to IList.

Properties

DataType DataType DataType DataType DataType

Deprecated. Gets the type of the tensor data.

Description Description Description Description Description

Deprecated. Gets the description of the tensor.

IsRequired IsRequired IsRequired IsRequired IsRequired
ModelFeatureKind ModelFeatureKind ModelFeatureKind ModelFeatureKind ModelFeatureKind

Deprecated. Gets the data type of the variable.

Name Name Name Name Name

Deprecated. Gets the name of the tensor.

Shape Shape Shape Shape Shape

Deprecated. Gets the n-dimensional shape of the tensor.