Autograd profile recording in c10 custom ops (#20175)
Summary:
This ensures that custom operators registered through c10::RegisterOperators are recorded in autograd profile traces.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/20175
Differential Revision: D15221311
Pulled By: jamesr66a
fbshipit-source-id: 9452b24272c2399c20a49af85b62d34cabe6e27a