Overview of TensorFlow.js APIs
masterTensorFlow.js is composed of several specialized packages. You can import them individually to optimize bundle size.
Core APIs
- @tensorflow/tfjs-core: A flexible low-level API for neural networks and numerical computation.
- @tensorflow/tfjs-layers: A high-level API implementing functionality similar to Keras.
- @tensorflow/tfjs-data: An API to load and prepare data (analogous to
tf.data). - @tensorflow/tfjs-converter: Tools to import a TensorFlow SavedModel to TensorFlow.js.
- @tensorflow/tfjs-vis: In-browser visualization for models.
- @tensorflow/tfjs-automl: APIs to load and run models produced by AutoML Edge.