Checks if a tensor is of a particular rank.
The tensor
The rank
const result = Chalkboard.tens.isRankOf([[[1]]], 3); // Returns true Copy
const result = Chalkboard.tens.isRankOf([[[1]]], 3); // Returns true
Checks if a tensor is of a particular rank.