view (-1, 8) # the size -1 is inferred from other dimensions # if -1 it pytorch will Tensor. randn (4, 4) y = x. PyTorch Variables have the same API as PyTorch ...
確定! 回上一頁