view(-1, x)가 도대체 무슨 의미지?
·
프로그래밍 언어/Pytorch
https://whereisend.tistory.com/54 PyTorch - What is PyTorch (1) WHAT IS PyTorch? 가장 먼저 PyTorch를 시작하려면 import 해야한다. import torch 텐서 생성 import torch x = torch.empty(5, 3) y = torch.rand(5, 3) z = torch.zeros(5, 3, dtype=torch.long) u = torch.tens.. whereisend.tistory.com