Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/netsaur/packages/core/src/backends/wasm/lib/netsaur.generated.d.ts>InstantiateOptions

Powerful Powerful Machine Learning library with GPU, CPU and WASM backends
Latest
interface InstantiateOptions
import { type InstantiateOptions } from "https://deno.land/x/netsaur@0.4.2/packages/core/src/backends/wasm/lib/netsaur.generated.d.ts";

Options for instantiating a Wasm instance.

Properties

optional
url: URL

Optional url to the Wasm file to instantiate.

optional
decompress: (bytes: Uint8Array) => Uint8Array

Callback to decompress the raw Wasm file bytes before instantiating.