ping.Union[typing.Dict, flax.core.frozen_dict.FrozenDict]
mask: typing.Any = None

)


Parameters 

params (Union[Dict, FrozenDict]) —
A PyTree of model parameters.


mask (Union[Dict, FrozenDict]) —
A PyTree with same structure as the params tree. The leaves should be booleans, True for params
you want to cast, and should be False for those you want to skip



Cast the floating-point params to jax.numpy.float32. This method can be used to expl