TensorVariableDescriptorPreview Class
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.
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
- 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. |