Add missing typing.Optional type annotations to function parameters.
Add missing typing.Optional type annotations to function parameters.

PiperOrigin-RevId: 376281376
Change-Id: I179765fedb29c5bdd27753d360d3276f300e4149

deepmind/rlax,deepmind/rlax