Match JIT signature with triu_indices / tril_indices. (#19484)
Summary:
This just plugs into the existing mechanism to do a direct translation to TensorOptions in the backend, so no codegen changes.
After this lands, all native_functions will match the JIT signature.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/19484
Differential Revision: D15013051
Pulled By: gchanan
fbshipit-source-id: 6818f868d2f765ca3e56e7e6f75fe4f68492466c