chore: update node_modules with new binary files and dependencies
- Add new binary files for nodemon, onnxruntime-web, and xenova/transformers - Update various JavaScript and TypeScript files in node_modules - Remove unused files and dependencies - Add new test fixtures and documentation files
This commit is contained in:
31
node_modules/onnxruntime-node/dist/binding.d.ts
generated
vendored
Normal file
31
node_modules/onnxruntime-node/dist/binding.d.ts
generated
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
import { InferenceSession, OnnxValue } from 'onnxruntime-common';
|
||||
type SessionOptions = InferenceSession.SessionOptions;
|
||||
type FeedsType = {
|
||||
[name: string]: OnnxValue;
|
||||
};
|
||||
type FetchesType = {
|
||||
[name: string]: OnnxValue | null;
|
||||
};
|
||||
type ReturnType = {
|
||||
[name: string]: OnnxValue;
|
||||
};
|
||||
type RunOptions = InferenceSession.RunOptions;
|
||||
/**
|
||||
* Binding exports a simple synchronized inference session object wrap.
|
||||
*/
|
||||
export declare namespace Binding {
|
||||
interface InferenceSession {
|
||||
loadModel(modelPath: string, options: SessionOptions): void;
|
||||
loadModel(buffer: ArrayBuffer, byteOffset: number, byteLength: number, options: SessionOptions): void;
|
||||
readonly inputNames: string[];
|
||||
readonly outputNames: string[];
|
||||
run(feeds: FeedsType, fetches: FetchesType, options: RunOptions): ReturnType;
|
||||
}
|
||||
interface InferenceSessionConstructor {
|
||||
new (): InferenceSession;
|
||||
}
|
||||
}
|
||||
export declare const binding: {
|
||||
InferenceSession: Binding.InferenceSessionConstructor;
|
||||
};
|
||||
export {};
|
||||
Reference in New Issue
Block a user