Manually set dtype to remove weak_type=True and thus reduce duplicate compiles.
Manually set dtype to remove weak_type=True and thus reduce duplicate compiles.

PiperOrigin-RevId: 456284358

google/learned_optimization