Skip to content

Commit

Permalink
Return tuple in retained_outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
unnonouno committed Aug 22, 2017
1 parent 77412e1 commit 72ec00a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chainer/function_node.py
Expand Up @@ -551,7 +551,7 @@ def get_retained_outputs(self):
if outputs_modified:
self.outputs = tuple(new_outputs)

return ret
return tuple(ret)

def unchain(self):
"""Purges in/out nodes and this function node itself from the graph."""
Expand Down

0 comments on commit 72ec00a

Please sign in to comment.