I was following a Pytorch tutorial on Youtube, and when importing the relevant content/libraries, this was the code that the guy wrote:
import torchvision
from torchvision import transforms, datasets
My question is: Why do I need to explicitly type the second line? Didn't the first one import transforms and datasets already?
The video I was watching for reference: https://www.youtube.com/watch?v=i2yPxY2rOzs
I appreciate any help, and I'm sorry if this question is too obvious.