I have not used PyTorch with React Native, but what you can do is to write your model using PyTorch, adapt it to ONNX (for Android) and CoreML (for iOS). You can export to ONNX directly from PyTorch, and you can convert from ONNX to CoreML using https://github.com/onnx/onnx-coreml 14 .