cat

dragon.vm.torch.cat(
  seq,
  dim=0,
  out=None
)[source]

Concatenate the inputs along the given dimension.

Parameters:
  • seq (sequence of dragon.vm.torch.Tensor) – The sequence.
  • dim (int, optional) – The dim to concatenate.
  • out (dragon.vm.torch.Tensor, optional) – The optional output tensor.
Returns:

dragon.vm.torch.Tensor – The output tensor.