Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/netsaur/src/cpu/layers/base.ts>BaseCPULayer

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

Base class for all layers.

Constructors

new
BaseCPULayer(config: LayerConfig)

Properties

activationFn: CPUActivationFn
biases: CPUMatrix
input: CPUMatrix
output: CPUMatrix
outputSize: number
weights: CPUMatrix

Methods

backPropagate(error: CPUMatrix, rate: number)
initialize(
type: DataType,
inputSize: number,
batches: number,
)
reset(type: DataType, batches: number)