IReadOnlyTensor<TSelf,T>.Rank Property

Definition

Gets the number of dimensions in the tensor.

C#
public int Rank { get; }

Property Value

Applies to

Product Versions
.NET 8 (package-provided), 9 (package-provided)