view (-1) flattens a tensor in PyTorch. What's the difference? No, torch.flatten() function does not copy any data, and actually it behaves more ...
確定! 回上一頁