class_docstr: Code emitter class.
class_docstr_tok: ["Code","emitter","class","."]
docstr: Parse the module. Build internal data structures.
  
  Parameters
  ----------
  module : TVM Runtime Module
     The module to parse.
  
  quantization: Dictionary
     The quantization information for model inputs/outputs.
docstr_tok: ["Parse","the","module",".","Build","internal","data","structures",".","Parameters","--","--","--","--","--","module",":","TVM","Runtime","Module","The","module","to","parse",".","quantization",":","Dictionary","The","quantization","information","for","model","inputs\/outputs","."]
code: def parse_module(self, module, quantization=None):
      """Parse the module. Build internal data structures.
  
      Parameters
      ----------
      module : TVM Runtime Module
         The module to parse.
  
      quantization: Dictionary
         The quantization information for model inputs/outputs.
      """
  
      graph = module.get_json()
      if not isinstance(graph, (str,)):
          try:
              graph = graph._tvm_graph_json()
          except AttributeError:
              raise ValueError("Type %s is not supported" % type(graph))
  
      # Sort params for debugging
      params_dict = {}
      tmp_params = module.get_params()
      for k in sorted(tmp_params.keys()):
          params_dict[k] = tmp_params[k]
  
      self._graph = json.loads(graph)
      self._params = params_dict
      self._lib = module.get_lib()
  
      self._parse_model(quantization)
  
imports: import contextlib
  import json
  import os
  import re
  import shutil
  import tarfile
  import textwrap
  from datetime import datetime
  import numpy
  import tvm
  from tvm.contrib import utils
label_desc: Use image node_id 9 for calling the CodeEmitter obj's underlying member method code with example usage: obj.parse_module(module, quantization) without return types