pytorch
880a5b9e - [PyTorch] Move prim string ops to JIT op registry (#70501)

Commit
2 years ago
[PyTorch] Move prim string ops to JIT op registry (#70501) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/70501 This PR migrates prim string ops to be registered into JIT op registry instead of dispatcher. Since the implementation of these ops are backend agnostic, there's no need to go through dispatcher. Relying on `test_jit_string.py` to verify the correctness of these ops. I'm also adding tests to make sure all the operators are covered. Test Plan: Rely on `test_jit_string.py`. Reviewed By: iseeyuan Differential Revision: D33351638 fbshipit-source-id: ecc8359da935a32d3a31add2c395a149a0d8892f
Author
Parents
Loading