Fix cpu().detach() into detach().cpu()
Summary: Pull Request resolved: https://github.com/facebookresearch/d2go/pull/619 For visualisation, tensor variables should be detached from the computational graph. The .cpu() function call should be after the detach(). Reviewed By: frabu6, wat3rBro Differential Revision: D48737228 fbshipit-source-id: b7308c852bdbae89fddba088f5188f61a9a216a8
Showing
Please register or sign in to comment