pytorch/examples

Needs updating for PyTorch HEAD (no_grad)

オープン

#280 opened on 2018/01/09

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)Python (9,429 件のフォーク)batch import
help wanted

Repository metrics

Stars
 (21,634 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

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