Returns the shape of a tensor, which is the array of its axis lengths.
The tensor
const result = Chalkboard.tens.shape([[[1, 2]], [[3, 4]]]); // Returns [2, 1, 2] Copy
const result = Chalkboard.tens.shape([[[1, 2]], [[3, 4]]]); // Returns [2, 1, 2]
Returns the shape of a tensor, which is the array of its axis lengths.