react-native-executorch
Version:
An easy way to run AI models in react native with ExecuTorch
14 lines (13 loc) • 467 B
JavaScript
;
import { ObjectDetectionNativeModule } from '../../native/RnExecutorchModules';
import { BaseModule } from '../BaseModule';
export class ObjectDetectionModule extends BaseModule {
static nativeModule = ObjectDetectionNativeModule;
static async load(modelSource) {
return await super.load(modelSource);
}
static async forward(input) {
return await this.nativeModule.forward(input);
}
}
//# sourceMappingURL=ObjectDetectionModule.js.map