WLJS LogoWLJS Notebook

PaddingLayer

PaddingLayer[{{m1,n1},{m2,n2},…}] represents a net layer that pads an input array with mi elements at the beginning and ni elements at the end at level i of the array.

Examples

Create a padding layer:

PaddingLayer[{{1, 1}, {2, 2}}]

Please visit the official Wolfram Language Reference for more details.

On this page