We are very excited to announce the alpha release of TensorFlow.js for React Native. This brings all tensorflow.js capabilities to native apps written in react native. You can install the package from npm and setup instructions are also available on GitHub.
This platform package:
- Supports both inference and training.
- Has GPU support with WebGL via expo-gl.
- Has support for loading models from the web,
AsyncStorage
, and models that are included in the app bundle. - Has support for saving models to
AsyncStorage
.
We welcome your feedback to help shape priorities for the general launch of this package. We also welcome developers familiar with React Native who are interested in getting involved in the future development of this library.
Looking forward to seeing what you build!