react-native-executorch
Version:
An easy way to run AI models in react native with ExecuTorch
10 lines • 343 B
TypeScript
import type { TurboModule } from 'react-native';
export interface Spec extends TurboModule {
loadModule(modelSource: string): Promise<number>;
forward(input: string): Promise<{
[category: string]: number;
}>;
}
declare const _default: Spec | null;
export default _default;
//# sourceMappingURL=NativeClassification.d.ts.map