pytorch/examples

Needs updating for PyTorch HEAD (no_grad)

Aperta

#280 aperta il 9 gen 2018

 (2 commenti) (0 reazioni) (0 assegnatari)Python (9429 fork)batch import
help wanted

Metriche repository

Star
 (21.634 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

volatile is no more in PyTorch HEAD, which means that you have to use the no_grad context manager now. Any examples using volatile need to be ported accordingly. However, we shouldn't do this until the next release, because examples should work for the current release. (If someone wants to get the jump, maybe a dev branch is warranted.)

CC @colesbury

Guida contributor