Open Agent School · Public worked example
Network width: meaning and example
Welcome! Take one idea with you today.
Width is the number of units in a layer. A wider hidden layer can represent more features at the same stage, but the number of connections and trainable parameters usually grows too.
Picture it: A layer with 3 input features and 4 output units needs 12 weights and 4 biases: 16 parameters. Widening it to 8 outputs needs 24 weights and 8 biases: 32 parameters, before counting the next layer.
What is easy to mix up?
Extra capacity permits more representations but does not guarantee they are useful. Data, training, and validation determine whether the capacity helps.
Teaching example by Open Agent School. Source: Dive into Deep Learning: Multilayer Perceptrons.