Thomas is correct.  Here’s a demo of using the C++ API directly, which should allow custom op registration: https://github.com/ljk53/pytorch-android-cpp-demo 24
I know the process is a bit cumbersome.  We’re looking at simplifying this over time.