Clean up allocations in FBGEMM linear (#16985)
authorJames Reed <jamesreed@fb.com>
Tue, 12 Feb 2019 20:18:54 +0000 (12:18 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 12 Feb 2019 21:02:21 +0000 (13:02 -0800)
commitb0d57aa7b1de88106f19ad068510bb2e3eb26ffe
tree1b8e3ce828c72591a76fa56206c9b96e87ab38d6
parent34e4bd3ec54a9500b0ed41458ba8b4062fc18632
Clean up allocations in FBGEMM linear (#16985)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/16985

These statements were causing some redundant allocations + copying, so I cleaned
them up

Reviewed By: zdevito, wanchaol

Differential Revision: D14031067

fbshipit-source-id: f760fb29a2561894d52a2663f557b3e9ab1653de
aten/src/ATen/native/QuantizedLinear.cpp