Support Tensor alias annotations for native_functions.yaml (#16239)
Summary:
Adds Tensor alias annotations.
This isn't a full implementation of alias annotations, but that isn't required to increase compliance with the JIT signature schema. There are some sanity checks within native_parse.py for their usage, which can also help overall correctness. Otherwise, this exists solely for further alignment between the JIT signature schema and the native_functions.yaml func schema.
This gets us to ~85% matches.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/16239
Differential Revision: D13804133
Pulled By: cpuhrsch
fbshipit-source-id: aa5750f2c7e0f08b8c35d6d8f38cb148e9629855