@fugood/onnxruntime-react-native
Version:
ONNX Runtime bridge for react native
8 lines (7 loc) • 372 B
TypeScript
import { Backend, InferenceSession, SessionHandler } from '@fugood/onnxruntime-common';
declare class OnnxruntimeBackend implements Backend {
init(): Promise<void>;
createSessionHandler(pathOrBuffer: string | Uint8Array, options?: InferenceSession.SessionOptions): Promise<SessionHandler>;
}
export declare const onnxruntimeBackend: OnnxruntimeBackend;
export {};