IReadOnlyTensor.Rank Property   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the rank, or number of dimensions, in the tensor.
public:
 property int Rank { int get(); };public int Rank { get; }member this.Rank : intPublic ReadOnly Property Rank As Integer