class_docstr: Tracer(autowrap_modules=(math,), autowrap_functions=())
  
  ``Tracer`` is the class that implements the symbolic tracing functionality
  of ``torch.fx.symbolic_trace``. A call to ``symbolic_trace(m)`` is equivalent
  to ``Tracer().trace(m)``.
  
  Tracer can be subclassed to override various behaviors of the tracing
  process. The different behaviors that can be overridden are described
  in the docstrings of the methods on this class.
class_docstr_tok: ["Tracer","(","autowrap_modules=","(","math",",",")",",","autowrap_functions=","(",")",")","``","Tracer","``","is","the","class","that","implements","the","symbolic","tracing","functionality","of","``","torch.fx.symbolic_trace","``",".","A","call","to","``","symbolic_trace","(","m",")","``","is","equivalent","to","``","Tracer","(",")",".trace","(","m",")","``",".","Tracer","can","be","subclassed","to","override","various","behaviors","of","the","tracing","process",".","The","different","behaviors","that","can","be","overridden","are","described","in","the","docstrings","of","the","methods","on","this","class","."]
docstr: Helper method to find the qualified name of ``mod`` in the Module hierarchy
  of ``root``. For example, if ``root`` has a submodule named ``foo``, which has
  a submodule named ``bar``, passing ``bar`` into this function will return
  the string "foo.bar".
  
  Args:
  
      mod (str): The ``Module`` to retrieve the qualified name for.
docstr_tok: ["Helper","method","to","find","the","qualified","name","of","``","mod","``","in","the","Module","hierarchy","of","``","root","``",".","For","example",",","if","``","root","``","has","a","submodule","named","``","foo","``",",","which","has","a","submodule","named","``","bar","``",",","passing","``","bar","``","into","this","function","will","return","the","string","``","foo.bar","''",".","Args",":","mod","(","str",")",":","The","``","Module","``","to","retrieve","the","qualified","name","for","."]
code: def path_of_module(self, mod: torch.nn.Module) -> str:
      """
      Helper method to find the qualified name of ``mod`` in the Module hierarchy
      of ``root``. For example, if ``root`` has a submodule named ``foo``, which has
      a submodule named ``bar``, passing ``bar`` into this function will return
      the string "foo.bar".
  
      Args:
  
          mod (str): The ``Module`` to retrieve the qualified name for.
      """
      # Prefer the O(1) algorithm
      if self.submodule_paths:
          path = self.submodule_paths.get(mod)
          if path is None:
              raise NameError("module is not installed as a submodule")
          assert isinstance(path, str)
          return path
      # O(N^2) fallback in the case that we didn't store the submodule
      # paths.
      else:
          for n, p in self.root.named_modules():
              if mod is p:
                  return n
          raise NameError("module is not installed as a submodule")
  
imports: import builtins
  import copy
  import functools
  import inspect
  import math
  import os
  import warnings
  import collections
  from itertools import chain
  from types import CodeType, FunctionType, ModuleType
  from typing import Any, Callable, Dict, List, NamedTuple, Optional, Set, Tuple, Type, Union
  import torch
  import torch.utils._pytree
  from torch._C import ScriptObject
  from ._compatibility import compatibility
  from .graph import _PyTreeCodeGen, _PyTreeInfo, Graph
  from .graph_module import GraphModule
  from .node import Argument, base_types, map_aggregate
  from .proxy import ParameterProxy, Proxy, TracerBase, Scope, ScopeContextManager
label_desc: Use image node_id 4 for calling the Tracer obj's underlying member method code with example usage: obj.path_of_module(mod) and returns: path, n