@tensorflow/tfjs-core
Version:
Hardware-accelerated JavaScript library for machine intelligence
19 lines (18 loc) • 784 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[];
}
export declare class ModelManagement {
static listModels(): Promise<{
[]: ModelArtifactsInfo;
}>;
static removeModel(url: string): Promise<ModelArtifactsInfo>;
static copyModel(sourceURL: string, destURL: string): Promise<ModelArtifactsInfo>;
static moveModel(sourceURL: string, destURL: string): Promise<ModelArtifactsInfo>;
}