* Copy a model from one URL to another. * * This function supports: * * 1. Copying within a storage medium, e.g., * `tf.io.copyModel('localstorage://model-1', 'localstorage://model-2')` * 2. Copying between two storage mediums, e.g., * `tf.io.copyModel('localstorage://model-1', 'indexed
(
sourceURL: string, destURL: string)
| 296 | * } |
| 297 | */ |
| 298 | async function copyModel( |
| 299 | sourceURL: string, destURL: string): Promise<ModelArtifactsInfo> { |
| 300 | const deleteSource = false; |
| 301 | return cloneModelInternal(sourceURL, destURL, deleteSource); |
| 302 | } |
| 303 | |
| 304 | /** |
| 305 | * Move a model from one URL to another. |
nothing calls this directly
no test coverage detected
searching dependent graphs…