You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.
Matias Vazquez-Levi edited this page Jan 31, 2021
·
15 revisions
Import
constLayer=require('dannjs').layer;
Contructor( type , inputSize , sampleSize , stride )
When you create a pooling layer you need to specify the number of input size, the sample size & the stride.
constl1=newLayer('avgpool',16,2,2);
Object Properties
type
A string representing the type of this layer.
subtype
A string representing the sub type of this layer.
sampleSize
The size of the 2d sample iterating trough the array.
stride
The number of jumps the sample is going to perform for each iteration.
poolfunc
The function this pooling layer uses to process a sample as an array into a numeric output. ex: avgpool, maxpool. See available pooling functions Here.