Skip to main content
Module

x/netsaur/src/mod.ts>NeuralNetwork

Powerful machine learning, accelerated by WebGPU
Go to Latest
class NeuralNetwork
import { NeuralNetwork } from "https://deno.land/x/netsaur@0.1.2/src/mod.ts";

base class for neural network

Constructors

new
NeuralNetwork(config: NetworkConfig)

create a neural network

Type Parameters

optional
T extends DataType = DataType

Methods

add layers to network

get output of network

use network to predict data

setup backend and initialize network

train(
datasets: DataSet[],
epochs?,
batches?,
learningRate?,
)

train network