Set in_axis_resources and out_axis_resources to a default singleton value because `None` means that an input is fully replicated.
Set in_axis_resources and out_axis_resources to a default singleton value because `None` means that an input is fully replicated.

PiperOrigin-RevId: 451173222

google/jax,google/jax,google/jax,google/jax