Calculates the concatenation of two tensors.
The first tensor
The second tensor
Optional
The axis to concatenate along, starting from 0 for the outermost axis
const result = Chalkboard.tens.concat([[1, 2]], [[3, 4]], 1); // Returns [[1, 2, 3, 4]] Copy
const result = Chalkboard.tens.concat([[1, 2]], [[3, 4]], 1); // Returns [[1, 2, 3, 4]]
Calculates the concatenation of two tensors.