File size: 268 Bytes
0e7bcc2 | 1 2 3 4 5 6 7 8 9 10 | export type Tensor = {
shape: number[];
data: Float32Array;
dataType: 'float32';
};
export type Imports = {
createSession: (model: any) => Promise<any>;
runSession(session: any, inputs: [string, Tensor][], outputs: [string]): Promise<Tensor[]>;
};
|