Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


rank

The rank of a MachineLearningTensorShape.
Read time 1 minuteLast updated 9 days ago

Definition

public uint rank

Remarks

For example, a tensor of shape (5) has a rankof 1. A tensor of shape (7, 3, 5) has a rank of 3.
Rank of 0 tensors are scalar values. To describe an empty tensor shape, use NullTensor.