Calculates the concatentation of two tensors.
The first tensor
The second tensor
Optional
The rank to concatenate
Calculates the concatentation of two tensors.