import { BaseGPULayer } from "https://deno.land/x/netsaur@0.1.2/src/gpu/layers/base.ts";
Base class for all layers.
Constructors
new
BaseGPULayer(config: GPULayerConfig, backend: WebGPUBackend)Properties
activationFn: GPUActivationFn
biases: GPUMatrix
cost: GPUMatrix
costFunction: GPUCostFunction
error: GPUMatrix
inputs: GPUMatrix
output: GPUMatrix
weights: GPUMatrix
Methods
backPropagate(): Promise<GPUMatrix>
feedForward(input: GPUMatrix): Promise<GPUMatrix>
setActivation(activation: Activation)
toJSON()