Calculates the concatentation of two tensors.
The first tensor
The second tensor
Optional
The rank to concatenate
const result = Chalkboard.tens.concat([[1, 2]], [[3, 4]], 1); // Concatenates the rank-2 tensors Copy
const result = Chalkboard.tens.concat([[1, 2]], [[3, 4]], 1); // Concatenates the rank-2 tensors
Calculates the concatentation of two tensors.