weblearn-layer-linear
v1.0.1
Published
Simple fully-connected layer
Downloads
3
Readme
weblearn-layer-linear
Simple fully-connected layer for WebLearn
Usage
npm install weblearn-layer-linear
const Linear = require('weblearn-layer-linear')
const inputSize = 2
const outputSize = 10
const hasBias = true
const layer = Linear(inputSize, outputSize, hasBias)