pytorch/examples

Needs updating for PyTorch HEAD (no_grad)

開放

#280 建立於 2018年1月9日

 (2 則留言) (0 個反應) (0 位負責人)Python (9,429 個分叉)batch import
help wanted

倉庫指標

星標
 (21,634 顆星)
PR 合併指標
 (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

貢獻者指南