A neural network stacks layers of neurons; each neuron computes a weighted sum of its inputs plus a bias, then applies an activation function.
Without non-linear activations, any number of layers collapses into a single linear transformation, so the network could only learn linear relationships.
Non-linearities (ReLU, GELU, tanh) let the network approximate complex functions; depth lets it build features hierarchically (edges, then shapes, then objects).
Loading…