onnxruntime-react-native
Version:
ONNX Runtime bridge for react native
8 lines • 438 B
TypeScript
import { type Backend, InferenceSession, type InferenceSessionHandler } from 'onnxruntime-common';
declare class OnnxruntimeBackend implements Backend {
init(): Promise<void>;
createInferenceSessionHandler(pathOrBuffer: string | Uint8Array, options?: InferenceSession.SessionOptions): Promise<InferenceSessionHandler>;
}
export declare const onnxruntimeBackend: OnnxruntimeBackend;
export {};
//# sourceMappingURL=backend.d.ts.map