yunjey / pytorch-tutorial

PyTorch Tutorial for Deep Learning Researchers
MIT License
29.54k stars 8k forks source link

use explicit assertion to emphasize equality #205

Open psteinb opened 4 years ago

psteinb commented 4 years ago

this may help understand readers why the code converts from numpy to pytorch and back again