mirror of
https://github.com/ROCm/jax.git
synced 2025-04-16 20:06:05 +00:00

This avoids a bunch of list bookkeeping in cases where we are iterating only for a side effect and do not care about the results. I would have named this iter() to match OCaml's list.iter(), but unfortunately iter() is a Python builtin. PiperOrigin-RevId: 736859418