@tensorflow/tfjs-core
Version:
Hardware-accelerated JavaScript library for machine intelligence
18 lines (17 loc) • 814 B
TypeScript
import { ModelArtifactsInfo, ModelStoreManager } from './types';
export declare class ModelStoreManagerRegistry {
private static instance;
private managers;
private constructor();
private static getInstance;
static registerManager(scheme: string, manager: ModelStoreManager): void;
static getManager(scheme: string): ModelStoreManager;
static getSchemes(): string[];
}
declare function listModels(): Promise<{
[url: string]: ModelArtifactsInfo;
}>;
declare function removeModel(url: string): Promise<ModelArtifactsInfo>;
declare function copyModel(sourceURL: string, destURL: string): Promise<ModelArtifactsInfo>;
declare function moveModel(sourceURL: string, destURL: string): Promise<ModelArtifactsInfo>;
export { moveModel, copyModel, removeModel, listModels };