Use SetOutputTensor instead of copying outputs manually (#17770)
authorAhmed Aly <ahhegazy@fb.com>
Thu, 28 Mar 2019 22:58:24 +0000 (15:58 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 28 Mar 2019 23:01:33 +0000 (16:01 -0700)
commit1ae2c1950c4ac63cff4c8c9251f3a83a9968376b
treee0c3d8372efe4bbf88b9920e980e83aeea25b820
parentaea8ee1f6831a7704044d85df7c24e041e2363f5
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
caffe2/operators/inference_lstm_op.cc