torch / nngraph

Graph Computation for nn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

clearState() on gModule with moduleFromCriterion does not behave as expected

vivanov879 opened this issue · comments

linking to the original issue
torch/torch7#767

Calling clearState on a graph with a moduleFromCriterion for serialization causes future invocations to forward/backward to fail. For example for ClassNLLCriterion