def METHOD_NAME(quant_config, init=False):
  config = {'param': defaultdict(list), 'output': defaultdict(list), 'input': defaultdict(list)}
  for key in quant_config.get_output_keys():
    for quant_info in quant_config.get_output_quant_info(key):
      bw, fp = quant_info.get_bw_fp()
      if init is True:
        fp = None
      config["output"][key].append([bw, fp])
  for key in quant_config.get_input_keys():
    for quant_info in quant_config.get_input_quant_info(key):
      bw, fp = quant_info.get_bw_fp()
      if init is True:
        fp = None
      config["input"][key].append([bw, fp])
  for key in quant_config.get_param_keys():
    quant_info = quant_config.get_param_quant_info(key)
    bw, fp = quant_info.get_bw_fp()
    if init is True:
      fp = None
    config["param"][key].append([bw, fp])
  return config