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