class_docstr: Scope object that records the module path and the module type
  of a module. Scope is used to track the information of the module
  that contains a Node in a Graph of GraphModule. For example::
  
      class Sub(torch.nn.Module):
          def forward(self, x):
              # This will be a call_method Node in GraphModule,
              # scope for this would be (module_path="sub", module_type=Sub)
              return x.transpose(1, 2)
  
      class M(torch.nn.Module):
          def __init__(self):
              self.sub = Sub()
  
          def forward(self, x):
              # This will be a call_method Node as well,
              # scope for this would be (module_path="", None)
              x = x.transpose(1, 2)
              x = self.sub(x)
              return x
class_docstr_tok: ["Scope","object","that","records","the","module","path","and","the","module","type","of","a","module",".","Scope","is","used","to","track","the","information","of","the","module","that","contains","a","Node","in","a","Graph","of","GraphModule",".","For","example",":",":","class","Sub","(","torch.nn.Module",")",":","def","forward","(","self",",","x",")",":","#","This","will","be","a","call_method","Node","in","GraphModule",",","#","scope","for","this","would","be","(","module_path=","''","sub","''",",","module_type=Sub",")","return","x.transpose","(","1",",","2",")","class","M","(","torch.nn.Module",")",":","def","__init__","(","self",")",":","self.sub","=","Sub","(",")","def","forward","(","self",",","x",")",":","#","This","will","be","a","call_method","Node","as","well",",","#","scope","for","this","would","be","(","module_path=","''","''",",","None",")","x","=","x.transpose","(","1",",","2",")","x","=","self.sub","(","x",")","return","x"]
code: def __init__(self, module_path: str, module_type: Any):
      super().__init__()
      self.module_path = module_path
      self.module_type = module_type
  
imports: import enum
  import dis
  import copy
  import sys
  import torch
  import inspect
  import operator
  import traceback
  import collections
  from dataclasses import is_dataclass, fields
  from .graph import magic_methods, reflectable_magic_methods, Graph
  from typing import Tuple, Dict, OrderedDict, Optional, Any, Iterator, Callable
  from .node import Target, Node, Argument, base_types, map_aggregate
  from ._compatibility import compatibility
  from .operator_schemas import check_for_mutable_operation
  import torch.fx.traceback
label_desc: Use image node_id 1 to create a new Scope object  with example: obj = Scope(module_path, module_type)