WLJS LogoWLJS Notebook

ConstantArrayLayer

ConstantArrayLayer[] represents a layer that has no input and produces as output a constant array.

ConstantArrayLayer[opts] includes options for initial value of the array or output size.

Examples

ConstantArrayLayer["Array" -> {{1, 2}, {3, 4}}]
ConstantArrayLayer["Output" -> {3, 3}]

Please visit the official Wolfram Language Reference for more details.

On this page