class_docstr: This context class provides access to a public API for Dynamo's internals.
  If there is something here you would find useful that is missing, please
  file a feature request at https://github.com/pytorch/pytorch/
docstr: Print all of the locals available in the current context.
  By default this view is very limited; you can get more information
  about any individual local using get_local().
docstr_tok: ["Print","all","of","the","locals","available","in","the","current","context",".","By","default","this","view","is","very","limited",";","you","can","get","more","information","about","any","individual","local","using","get_local","(",")","."]
code: def print_locals(self, *, file=None, stacklevel=0):
      """
      Print all of the locals available in the current context.
      By default this view is very limited; you can get more information
      about any individual local using get_local().
      """
      # TODO: improve by improving the VariableTracker printing
      tx = self.__get_tx(stacklevel)
      for k, v in tx.symbolic_locals.items():
          print(f"{k} = {v}", file=file)
  
imports: import builtins
  import dis
  import traceback
  from typing import Optional, Union
  import torch
  from .exc import unimplemented
label_desc: Use image node_id 10 for calling the ComptimeContext obj's underlying member method code with example usage: obj.print_locals() without return types