torch icon indicating copy to clipboard operation
torch copied to clipboard

Call from jit operators

Open dfalbel opened this issue 3 years ago • 0 comments

This would allow calling JIT registered operators without the need to manually create wrappers in C++. For future reference:

We need to port the logic here into R: https://github.com/pytorch/pytorch/blob/47834679ba2f869e66450a74e2add4c04f0006e9/torch/csrc/jit/python/pybind_utils.h#L874-L947

Once we have it, next step should be similar to simply calling the found operation:

https://cs.github.com/pytorch/pytorch/blob/47834679ba2f869e66450a74e2add4c04f0006e9/torch/csrc/jit/python/pybind_utils.h#L1182

dfalbel avatar Jun 01 '22 12:06 dfalbel