# Why does every neuron in a multi-layer perceptron typically have the same activation function?

Why does every neuron in a multi-layer perceptron typically have the same activation function? Is this a requirement, are there any advantages, or maybe is it just a rule of thumb?