Use SetOutputTensor instead of copying outputs manually (#17770)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/17770
As title
Reviewed By: dzhulgakov
Differential Revision: D14370937
fbshipit-source-id: f415490c38556cf03bb13dce3643775331483448