ITensor 介面

定義

張量是多維度值。

public interface class ITensor : ILearningModelFeatureValue
/// [Windows.Foundation.Metadata.ContractVersion(Windows.AI.MachineLearning.MachineLearningContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(88642963, 41733, 18981, 173, 9, 68, 1, 25, 180, 183, 246)]
struct ITensor : ILearningModelFeatureValue
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.AI.MachineLearning.MachineLearningContract), 65536)]
[Windows.Foundation.Metadata.Guid(88642963, 41733, 18981, 173, 9, 68, 1, 25, 180, 183, 246)]
public interface ITensor : ILearningModelFeatureValue
Public Interface ITensor
Implements ILearningModelFeatureValue
衍生
屬性
實作

Windows 需求

裝置系列
Windows 10, version 1809 (已於 10.0.17763.0 引進)
API contract
Windows.AI.MachineLearning.MachineLearningContract (已於 v1.0 引進)

備註

Windows Server

若要在 Windows Server 上使用此 API,您必須搭配桌面體驗使用 Windows Server 2019。

執行緒安全

此 API 是安全線程。

屬性

Kind

功能的資料類型。

(繼承來源 ILearningModelFeatureValue)
Shape

傳回每個維度的計數和大小。

TensorKind

傳回張量的資料型別。

適用於

另請參閱