UNPKG

react-native-executorch

Version:

An easy way to run AI models in React Native with ExecuTorch

11 lines (10 loc) 373 B
declare class NativeThreadPool { constructor(); executeNative(functionName: any, args: any): Promise<any>; runInference(prompt: any, options?: {}): Promise<any>; processImage(imagePath: any, options?: {}): Promise<any>; heavyComputation(data: any): Promise<any>; getStats(): any; } declare const _default: NativeThreadPool; export default _default;