cat¶
dragon.vm.torch.
cat
(
tensors,
dim=0,
out=None
)[source]¶Concatenate the inputs along the given dimension.
- Parameters:
- tensors (Sequence[dragon.vm.torch.Tensor]) – The input tensors.
- dim (int, optional) – The dimension to concatenate.
- out (dragon.vm.torch.Tensor, optional) – The output tensor.
- Returns:
dragon.vm.torch.Tensor – The output tensor.