Before training begins, a neural network needs initial values for its weights and biases. Weight initialization supplies those values, using randomness as part of the model-building process. section 9.0 section 2.4
In JAX, initialization receives a PRNGKey from outside the model. This keeps random-number generation functionally pure: keys represent generator state, while parameters remain explicit data passed to the stateless forward pass. section 9.0 section 2.4
Figure 2.4 The process of initializing and applying a neural network in JAX
Follow the initialization-to-application flow for a JAX neural network, including externally supplied randomness and explicit model parameters. section 2.4

