Remove a model specified by URL from a registered storage medium.
// First create and save a model. constmodel = tf.sequential(); model.add(tf.layers.dense( {units:1, inputShape: [10], activation:'sigmoid'})); awaitmodel.save('localstorage://demo/management/model1');
// Then list existing models. console.log(JSON.stringify(awaittf.io.listModels()));
// Delete the model. awaittf.io.removeModel('localstorage://demo/management/model1');
// List models again. console.log(JSON.stringify(awaittf.io.listModels()));
Parameters
url: string
A URL to a stored model, with a scheme prefix, e.g.,
'localstorage://my-model-1', 'indexeddb://my/model/2'.
Remove a model specified by URL from a registered storage medium.