bgxremover / tensor.d.ts
prappo's picture
Upload 21 files
0e7bcc2
raw
history blame contribute delete
268 Bytes
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[]>;
};