docstr: Build the graph for the model.
docstr_tok: ["Build","the","graph","for","the","model","."]
code: def __init__(self, model=None, dummy_input=None, traced_model=None):
      """
      Build the graph for the model.
      """
      from aup.compression.torch._graph_utils import TorchModuleGraph
  
      # check if the input is legal
      if traced_model is None:
          # user should provide model & dummy_input to trace
          # the model or a already traced model
          assert model is not None and dummy_input is not None
      self.graph = TorchModuleGraph(model, dummy_input, traced_model)
      self.dependency = dict()
      self.build_dependency()
  
imports: import csv
  import logging
label_desc: Use image node_id 1 to create a new Dependency object  with example: obj = Dependency(model, dummy_input, traced_model)