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
Properties
network: Network
Methods
addLayers(layer: LayerConfig[])
add layers to network
get output of network
predict(data: DataTypeArray<T>)
use network to predict data
setupBackend(gpu?)
setup backend and initialize network