torch.cat(tensors, dim=0, *, out=None) -> Tensor

YoungJoon Suh·2022년 10월 24일
0

Concatenates the given sequence of seq tensors in the given dimension. All tensors must either have the same shape (except in the concatenating dimension) or be empty.
torch.cat() can be seen as an inverse operation for torch.split() and torch.chunk().
torch.cat() can be best understood via examples.
tensors (sequence of Tensors) - any python sequence of tensors of the same type. Non-empty tensors provided must have the same shape, except in the cat dimension.
dim (int, optional) - the dimension over which the tensors are concatenated
out (Tensor, optional) - the output tensor.

profile
저는 서영준 입니다.

0개의 댓글

관련 채용 정보