I am a beginner with PyTorch and I was just wondering what is difference between torch.flatten and torch.nn.Flatten()?
Thanks :)