Apply some nonlinear function to each element of the input vector.
Linear layer. Linear function
ReLU layer. Rectified linear unit. Very popular. For x=0, may use subderivatives..
Compute the maximum of all input vector elements
Exponentiate all vector elements and normalize them to so sum to unity