This repository was archived by the owner on Feb 6, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 23
Layer Object
Matias Vazquez-Levi edited this page Feb 14, 2021
·
15 revisions
const Layer = require('dannjs').layer;When you create a pooling layer you need to specify the number of input size, the sample size & the stride.
const l1 = new Layer('avgpool',16,2,2);-
A string representing the type of this layer.
-
A string representing the sub type of this layer. Can be
'pool'for pooling layers or'input','hidden'and'output'for neuron layers used by Dann models. -
The size of the 2d sample iterating trough the array.
-
The number of jumps the sample is going to perform for each iteration.
-
The function this pooling layer uses to process a sample as an array into a numeric output. ex: avg, max. See available pooling functions Here.