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

x/netsaur/web.ts>setupBackend

Powerful Powerful Machine Learning library with GPU, CPU and WASM backends
Latest
function setupBackend
import { setupBackend } from "https://deno.land/x/netsaur@0.4.2/web.ts";

setupBackend loads the backend and sets it up.

import { setupBackend, CPU } from "https://deno.land/x/netsaur/mod.ts";

await setupBackend(CPU);

Parameters

loader: BackendLoader
optional
silent = [UNSUPPORTED]

Returns

Promise<void>