flatten () and .view(-1) flatten a tensor in PyTorch. What's the difference? Does .flatten() copy the data of the tensor?
確定! 回上一頁