Multilayer perceptron

A multilayer perceptron (MLP) is a neural network made of fully connected layers: each neuron computes a weighted sum of its inputs followed by an activation function. With nonlinear hidden layers, it can approximate complex functions. It is the basic architecture of deep learning.

Example

nn.Sequential(nn.Linear(10, 32), nn.ReLU(), nn.Linear(32, 1))

Related concepts

The whole glossary