TensorVariableDescriptorPreview Class

Definition

Deprecated. Represents a Tensor variable's descriptor information.

public ref class TensorVariableDescriptorPreview sealed
class TensorVariableDescriptorPreview sealed
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.AI.MachineLearning.Preview.MachineLearningPreviewContract), 65536)]
public sealed class TensorVariableDescriptorPreview
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.AI.MachineLearning.Preview.MachineLearningPreviewContract), 65536)]
[Windows.Foundation.Metadata.Deprecated("Use TensorFeatureDescriptor instead of TensorVariableDescriptorPreview. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.AI.MachineLearning.Preview.MachineLearningPreviewContract")]
public sealed class TensorVariableDescriptorPreview
Public NotInheritable Class TensorVariableDescriptorPreview
Inheritance
TensorVariableDescriptorPreview
Attributes
Implements

Windows 10 requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.AI.MachineLearning.Preview.MachineLearningPreviewContract (introduced in v2.0)

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

Deprecated. Gets the type of the tensor data.

Description

Deprecated. Gets the description of the tensor.

IsRequired

Deprecated. Gets whether the tensor is required.

ModelFeatureKind

Deprecated. Gets the data type of the variable.

Name

Deprecated. Gets the name of the tensor.

Shape

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

Applies to