Just a silly question. Whats the difference between import torch.nn as nn vs from torch import nn?

Purist might see a difference (and please post these). I would use whichever approach you like. :wink:

1 Like