(model)
| 53 | const LOCAL_MODEL_URL = 'indexeddb://tfjs-iris-demo-model/v1'; |
| 54 | |
| 55 | export async function saveModelLocally(model) { |
| 56 | const saveResult = await model.save(LOCAL_MODEL_URL); |
| 57 | } |
| 58 | |
| 59 | export async function loadModelLocally() { |
| 60 | return await tf.loadLayersModel(LOCAL_MODEL_URL); |
nothing calls this directly
no outgoing calls
no test coverage detected