MCPcopy Create free account
hub / github.com/tensorflow/tfjs / save

Method save

tfjs-react-native/src/bundle_resource_io.ts:39–43  ·  view source on GitHub ↗

* Save model artifacts. This IO handler cannot support writing to the * packaged bundle at runtime and is exclusively for loading a model * that is already packages with the app.

()

Source from the content-addressed store, hash-verified

37 * that is already packages with the app.
38 */
39 async save(): Promise<io.SaveResult> {
40 throw new Error(
41 'Bundle resource IO handler does not support saving. ' +
42 'Consider using asyncStorageIO instead');
43 }
44
45 /**
46 * Load a model from local storage.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected