Returns a tensor with a new axis inserted.
An array of tensors of equal shape
Optional
The integer insertion axis, from 0 through the common rank inclusive
const result = Chalkboard.tens.stack([[1, 2], [3, 4]], 1); // Returns [[1, 3], [2, 4]] Copy
const result = Chalkboard.tens.stack([[1, 2], [3, 4]], 1); // Returns [[1, 3], [2, 4]]
Returns a tensor with a new axis inserted.