Don't generate named tensor functions to RegistrationFunctions.h (#26685)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/26685
This prevents XLA from picking up on named tensor APIs. I ran into some
problems while attempting to support dimname overloads in XLA; since we
don't need the first iteration of named tensors to work with XLA this is
OK.
Test Plan: - run CI.
Differential Revision: D17538893
Pulled By: zou3519
fbshipit-source-id: 93d579c93f5b1dc68541c07c4a3d61792859507d