Share via


TensorVariableDescriptorPreview.DataType 属性

定义

已弃用。 获取张量数据的类型。

public:
 property FeatureElementKindPreview DataType { FeatureElementKindPreview get(); };
FeatureElementKindPreview DataType();
/// [get: Windows.Foundation.Metadata.Deprecated("Use ITensorFeatureDescriptor instead of ITensorVariableDescriptorPreview. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.AI.MachineLearning.Preview.MachineLearningPreviewContract")]
FeatureElementKindPreview DataType();
public FeatureElementKindPreview DataType { get; }
public FeatureElementKindPreview DataType { [Windows.Foundation.Metadata.Deprecated("Use ITensorFeatureDescriptor instead of ITensorVariableDescriptorPreview. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.AI.MachineLearning.Preview.MachineLearningPreviewContract")] get; }
var featureElementKindPreview = tensorVariableDescriptorPreview.dataType;
Public ReadOnly Property DataType As FeatureElementKindPreview

属性值

张量数据的类型。

属性

注解

警告

这是一个已弃用的 API。 请改用 Windows.AI.MachineLearning 命名空间。

适用于