[jit] Made a list for element-wise ops. (#59579)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/59579
Test Plan: Imported from OSS
Reviewed By: eellison
Differential Revision: D28955319
Pulled By: navahgar
fbshipit-source-id: 605531aedf9250a226b0401d55fda3427bdc6f33