Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/netsaur/src/core/types.ts>Backend

Powerful machine learning, accelerated by WebGPU
Go to Latest
interface Backend
import { type Backend } from "https://deno.land/x/netsaur@0.2.4/src/core/types.ts";

The Backend is responsible for eveything related to the neural network.

Methods

train(
datasets: DataSet[],
epochs: number,
rate: number,
): void
predict(input: Tensor<Rank>): Promise<Tensor<Rank>>
save(input: string): void
toJSON(): Promise<NetworkJSON>