diff --git a/src/io/model_management.ts b/src/io/model_management.ts index 525fc26ea7..487882790c 100644 --- a/src/io/model_management.ts +++ b/src/io/model_management.ts @@ -189,7 +189,7 @@ export class ModelManagement { * 'indexeddb://my/model/1'. Model artifacts info include type of the * model's topology, byte sizes of the topology, weights, etc. */ - @doc({heading: 'Models', subheading: 'Management'}) + @doc({heading: 'Models', subheading: 'Management', namespace: 'io'}) static async listModels(): Promise<{[url: string]: ModelArtifactsInfo}> { const schemes = ModelStoreManagerRegistry.getSchemes(); const out: {[url: string]: ModelArtifactsInfo} = {}; @@ -230,7 +230,7 @@ export class ModelManagement { * is successful). * @throws Error if deletion fails, e.g., if no model exists at `path`. */ - @doc({heading: 'Models', subheading: 'Management'}) + @doc({heading: 'Models', subheading: 'Management', namespace: 'io'}) static async removeModel(url: string): Promise { const schemeAndPath = parseURL(url); const manager = ModelStoreManagerRegistry.getManager(schemeAndPath.scheme); @@ -277,7 +277,7 @@ export class ModelManagement { * @throws Error if copying fails, e.g., if no model exists at `sourceURL`, or * if `oldPath` and `newPath` are identical. */ - @doc({heading: 'Models', subheading: 'Management'}) + @doc({heading: 'Models', subheading: 'Management', namespace: 'io'}) static async copyModel(sourceURL: string, destURL: string): Promise { const deleteSource = false; @@ -323,7 +323,7 @@ export class ModelManagement { * @throws Error if moving fails, e.g., if no model exists at `sourceURL`, or * if `oldPath` and `newPath` are identical. */ - @doc({heading: 'Models', subheading: 'Management'}) + @doc({heading: 'Models', subheading: 'Management', namespace: 'io'}) static async moveModel(sourceURL: string, destURL: string): Promise { const deleteSource = true;