Skip to content
masterclass Buddy

TensorFlow · Method

model.save

TensorFlow.js can save Layers API models and load them later. Storage schemes select browser storage, downloads, HTTP, or the Node.js file system.

Last updated

Syntax

await model.save(pathOrIOHandler);
await tf.loadLayersModel(pathOrIOHandler);

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • tf.Model.save
  • tf.Sequential
  • tf.loadLayersModel
  • tf.io.browserHTTPRequest
  • tf.io.browserFiles
  • IOHandler
  • ModelArtifacts
  • SaveResult

Source: Save and load models | TensorFlow.js. Checked 2026-11-03.