pytorch/examples

Needs updating for PyTorch HEAD (no_grad)

Open

#280 opened on 2018年1月9日

GitHub で見る
 (2 comments) (0 reactions) (0 assignees)Python (9,429 forks)batch import
help wanted

Repository metrics

Stars
 (21,634 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

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

コントリビューターガイド