class_docstr: Holds per-thread state on mixed precision policies.
class_docstr_tok: ["Holds","per-thread","state","on","mixed","precision","policies","."]
code: def current_policy(self) -> jmp.Policy:
      return self._current_policy.peek()
  
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 4 for calling the _ThreadState obj's underlying member method code with example usage: obj.current_policy() and returns: self