code: def _mixed_precision_getter(next_getter, value, context):
      del context
      value = _thread_local_state.current_policy.cast_to_compute(value)
      return next_getter(value)
  
imports: import collections
  import contextlib
  import threading
  from typing import TypeVar, Optional, Union
  from haiku._src import base
  from haiku._src import data_structures
  from haiku._src import module
  import jmp
label_desc: Use image node_id 9 for calling a global function with example usage: _mixed_precision_getter(next_getter, value, context) and returns: next_getter