3 ms·
PyTorch's name is ugly and unpragmatic. Every method starts with “torch”
People often import Pytorch as "torch". Every function call then becomes "torch.<method_name>". I think this is anti-pattern. Compare that with Pandas and Numpy which get imported as double characters (pd and np, respectively).
Meta should change Pytorch's name to something that can be abbreviated like Pandas and Numpy.
- jjgreen 3y agoCan't you just import pytorch as pt ?
- not_your_vase 3y agoI wish in 1973 the UN hasn't forbidden using "pt" and other arbitrary abbreviations, under the penalty of lifelong apple-pie-withdrawal :`(
- version_five 3y agoI understand this is just a troll, but you may want to consider the from x import y pattern. That's how torch is often used, and will save you the need to keep typing it.
- smoldesu 3y agoBrilliant suggestion, I will mail it to /dev/null immediately.