class_docstr: This class is created to make sure PackedParams
  (e.g. LinearPackedParams, Conv2dPackedParams) to appear in state_dict
  so that we can serialize and deserialize quantized graph module with
  torch.save(m.state_dict()) and m.load_state_dict(state_dict)
class_docstr_tok: ["This","class","is","created","to","make","sure","PackedParams","(","e.g",".","LinearPackedParams",",","Conv2dPackedParams",")","to","appear","in","state_dict","so","that","we","can","serialize","and","deserialize","quantized","graph","module","with","torch.save","(","m.state_dict","(",")",")","and","m.load_state_dict","(","state_dict",")"]
code: def __deepcopy__(self, memo):
      fake_mod = torch.nn.Module()
      fake_mod.__dict__ = copy.deepcopy(self.__dict__)
      return QuantizedGraphModule(
          fake_mod,
          copy.deepcopy(self.graph),
          copy.deepcopy(self.preserved_attr_names),
      )
  
imports: import torch
  import copy
  from torch.fx import GraphModule
  from torch.fx.graph import Graph
  from typing import Union, Dict, Any, Set
label_desc: Use image node_id 3 for calling the QuantizedGraphModule obj's underlying member method code with example usage: obj.__deepcopy__(memo) and returns: QuantizedGraphModule