conv2D

Creates a convolutional layer typically found in a convnet used for image classification.

Layer
conv2D

Parameters

input Layer

The previous (i.e., input) layer.

outputChannels size_t

The number of feature maps that this layer should produce.

filterDims size_t[]

The size of the kernels that should be convolved with the inputs.

opts Conv2DOptions

Additional options, with sensible defaults.

Return Value

Type: Layer

The new convolutional Layer.

Meta