Share via


TensorVariableDescriptorPreview Class

Definition

Deprecated. Represents a Tensor variable's descriptor information.

public ref class TensorVariableDescriptorPreview sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.AI.MachineLearning.Preview.MachineLearningPreviewContract, 65536)]
class TensorVariableDescriptorPreview final
/// [Windows.Foundation.Metadata.ContractVersion(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")]
class TensorVariableDescriptorPreview final
[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
Object Platform::Object IInspectable TensorVariableDescriptorPreview
Attributes
Implements

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.AI.MachineLearning.Preview.MachineLearningPreviewContract (introduced in v1.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