Fix some mistakes in native_functions.yaml (#43156)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/43156
- supports_named_tensor no longer does anything, so I have removed
it. I'm guessing these were cargo culted from some old occurrences
of it in native_functions.yaml
- comma, not period, in variants
In my upcoming codegen rewrite, there will be strict error checking
for these cases (indeed, that is how I found these problems), so
I do not add error testing here.
Signed-off-by: Edward Z. Yang <ezyang@fb.com>
Test Plan: Imported from OSS
Reviewed By: zou3519
Differential Revision: D23183977
Pulled By: ezyang
fbshipit-source-id: a47d342152badfb8aea248a819ad94fd93dd6ab2