Udostępnij za pośrednictwem


ITensor Interface

Definition

Tensors are multi-dimensional values.

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
Derived
Attributes
Implements

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.AI.MachineLearning.MachineLearningContract (introduced in v1.0)

Remarks

Windows Server

To use this API on Windows Server, you must use Windows Server 2019 with Desktop Experience.

Thread safety

This API is thread-safe.

Properties

Kind

The data type of the feature.

(Inherited from ILearningModelFeatureValue)
Shape

Returns the count and size of each dimension.

TensorKind

Returns the data type of the tensor.

Applies to

See also