MCPcopy Create free account
hub / github.com/tensorflow/tfjs-examples / saveModel

Method saveModel

cart-pole/index.js:267–269  ·  view source on GitHub ↗

* Save the model to IndexedDB.

()

Source from the content-addressed store, hash-verified

265 * Save the model to IndexedDB.
266 */
267 async saveModel() {
268 return await this.policyNet.save(MODEL_SAVE_PATH_);
269 }
270
271 /**
272 * Load the model from IndexedDB.

Callers 1

setUpUIFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected