Loading...

Function

A rule that takes an input and returns exactly one output.

When to use: Defining any input→output rule: activations, losses, models.

Example: f(x) = 2x + 1 maps 3 → 7. A CNN maps 28×28 image → class label in {0,...,9}.

More Foundations Glossary terms