import { DenseCPULayer } from "https://deno.land/x/netsaur@0.1.5/backends/cpu/layers/dense.ts";
Base class for all layers.
Constructors
new
DenseCPULayer(config: DenseLayerConfig)Properties
activationFn: CPUActivationFn
biases: CPUMatrix
costFunction: CPUCostFunction
input: CPUMatrix
output: CPUMatrix
weights: CPUMatrix
Methods
feedForward(input: CPUMatrix): CPUMatrix
initialize(inputSize: Size, batches: number)
reset(batches: number)
setActivation(activation: Activation)
Static Methods
fromJSON(unnamed 0: LayerJSON): DenseCPULayer