UNPKG

react-native-executorch

Version:

An easy way to run AI models in react native with ExecuTorch

10 lines 623 B
import { _StyleTransferModule, _ObjectDetectionModule, _ClassificationModule, _ETModule } from '../native/RnExecutorchModules'; import { ResourceSource } from '../types/common'; export declare class BaseModule { static module: _StyleTransferModule | _ObjectDetectionModule | _ClassificationModule | _ETModule; static onDownloadProgressCallback: (_downloadProgress: number) => void; static load(modelSource: ResourceSource): Promise<void>; static forward(..._: any[]): Promise<any>; static onDownloadProgress(callback: (downloadProgress: number) => void): void; } //# sourceMappingURL=BaseModule.d.ts.map