Ensure NumPy inputs test covers case where params/state are closed over.
Ensure NumPy inputs test covers case where params/state are closed over.

PiperOrigin-RevId: 363651737
Change-Id: Ibfdcd7acae5a9475436c553f43dbf3febbbfa463

deepmind/dm-haiku,deepmind/dm-haiku