pytorch
c272758b - Mobile module forward() pass input by value. (#30060)

Commit
6 years ago
Mobile module forward() pass input by value. (#30060) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/30060 Mobile forward() passed inputs by reference, which is different from JIT's script::module. To make it consistent, change it pass by value. Test Plan: Imported from OSS Differential Revision: D18587786 Pulled By: iseeyuan fbshipit-source-id: fa398124fd0a5168f708733ff88f0ba327726f43
Author
Martin Yuan
Parents
Loading