Add appropriate type annotations to learning.py and use appropriate devices while restoring saved state.
Add appropriate type annotations to learning.py and use appropriate devices while restoring saved state.

PiperOrigin-RevId: 356248287
Change-Id: I26a329e4d8b8267b1f99ddde2aeaaa109a178605

deepmind/acme,deepmind/acme