dense

Creates a fully connected (AKA, dense) layer.

Layer
dense
()

Parameters

input
Type: Layer

The previous layer in the network.

numOutputs
Type: size_t

The number of units in this layer.

opts

Additional options with sensible default values.

Return Value

Type: Layer

The new layer.

Meta