Avoid refcount when looking up dispatch key
authorSebastian Messmer <messmer@fb.com>
Fri, 22 Mar 2019 21:05:50 +0000 (14:05 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 22 Mar 2019 21:09:20 +0000 (14:09 -0700)
commitf68faa35c05210203bc5e300153a56728484c8a6
treebd7b52e50e2f03f43aa5e0cbc83dff203d1f531e
parente5eb871419fc80799a8126fefe147d8fb4a04a2f
Avoid refcount when looking up dispatch key

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

Reviewed By: ezyang

Differential Revision: D14512979

fbshipit-source-id: 45e548974f06184c375c2bb8339e3049a4ebd880
aten/src/ATen/core/dispatch/DispatchTable.h