반응형
contiguous
-
PyTorch contiguous() 함수Python/PyTorch 2020. 1. 21. 16:31
torch.contiguous()에 대해 알아보자. 1. PyTorch documentation Returns a contiguous tensor containing the same data as self tensor. If self tensor is contiguous, this function returns the self tensor. 라는데... 그러면 contiguous tensor가 먼데...? 구글링을 시작했다. 2. Stack overflow 글 There are few operations on Tensor in PyTorch that do not really change the content of the tensor, but only how to convert indices in to t..