Skip to main content
Module

x/netsaur/web.ts>Sequential

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

Sequential Neural Network

Constructors

new
Sequential(config: NetworkConfig)

Create a Sequential Neural Network.

Methods

Use the network to make predictions.

save(): Uint8Array

Save model to binary file

saveFile(path: string)

Save model to a buffer

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

Train the Neural Network.

Static Methods

load(data: Uint8Array)

Load model from buffer

loadFile(data: string)

Load model from binary file