For NNN possible labels, p(y∣x)p(y \mid x)p(y∣x) is a vector of NNN elements, and fθ(x)f_\theta (x)fθ​(x) is a vector -valued function with NNN outputs.
Softmax