Kill LegacyBridge functions that don't do multiple dispatch. (#18696)
authorGregory Chanan <gchanan@fb.com>
Tue, 2 Apr 2019 14:31:54 +0000 (07:31 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 2 Apr 2019 14:34:55 +0000 (07:34 -0700)
commitd5bf6ddc29ac760d62392c3f3208b5ae49e56ff4
tree3b1c3b1a408bc9432762e1087f3d9d4794fd2452
parentaf84371ba812de5ec09f868f656d3b8bb9470a3f
Kill LegacyBridge functions that don't do multiple dispatch. (#18696)

Summary:
At some point, we needed these functions to deal with autograd dispatching to the sparse of TH version of a backwards.  But we rewrote all backwards definitions in terms of native functions, so this is no longer necessary.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18696

Differential Revision: D14710834

Pulled By: gchanan

fbshipit-source-id: b22568c58eefc79d672555bd8832398ccd965cb7
aten/src/ATen/native/LegacyBridge.cpp
aten/src/ATen/native/LegacyDefinitions.cpp
aten/src/ATen/native/native_functions.yaml