pytorch/examples

Needs updating for PyTorch HEAD (no_grad)

Open

#280 aberto em 9 de jan. de 2018

Ver no GitHub
 (2 comments) (0 reactions) (0 assignees)Python (9.429 forks)batch import
help wanted

Métricas do repositório

Stars
 (21.634 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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

Guia do colaborador