function arrow (type)
Say it “f maps R n to R”
Says what kind of input a function takes and what kind of output it gives — its type signature.
Example
A digit classifier: 784 pixels in, 10 scores out.
In code
def f(x: np.ndarray) -> np.ndarray: ...Where you’ll see it in ML
Describing a model or layer's input/output shapes.