torch.tensor()
torch.utils.data.dataloader()
my question is if we consider torch as .py file then contadicts to second statement that if utils is a class then dataloader is function then what is data . If we consider torch as package then functions cannot be inside a package (functions can only be inside a .py file) it contradicts to first statement . i have been reserching about this in many sites and forums but i was not able to find answer . could you please tell me the solution along with what happens when you import torch (what happens when you import torch like where is it being placed). is tensor a function present in init please explain the working when you import pytorch to the modules and files present inside pytorch(along with answer to this question)