UNPKG

tractjs

Version:

A library for running ONNX and TensorFlow inference in the browser.

6 lines (4 loc) 130 B
const fs = require("fs"); export async function load(path: string): Promise<Uint8Array> { return fs.promises.readFile(path); }