Share via


TensorVariableDescriptorPreview.Shape 属性

定义

已弃用。 获取张量的 n 维形状。

public:
 property IIterable<long long> ^ Shape { IIterable<long long> ^ get(); };
IIterable<long> Shape();
/// [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")]
IIterable<long> Shape();
public IEnumerable<long> Shape { get; }
public IEnumerable<long> Shape { [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 iIterable = tensorVariableDescriptorPreview.shape;
Public ReadOnly Property Shape As IEnumerable(Of Long)

属性值

IIterable<Int64>

IEnumerable<Int64>

Windows.Foundation.Collections.IIterable

IIterable<long>

张量的 n 维形状。

属性

注解

警告

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

适用于