code: def use_quant_in_out(self):
      replace_dict = {}
      for input_info in self._model.input_info:
          if self._option.quantize:
              for op in self._model.op:
                  if (
                      op.input[0] == input_info.name
                      and op.type == MaceOp.Quantize.name
                  ):
                      replace_dict[op.output[0]] = input_info.name
                      input_info.scale = op.quantize_info[0].scale
                      input_info.zero_point = op.quantize_info[
                          0
                      ].zero_point
                      break
              self._model.op.remove(op)
      for output_info in self._model.output_info:
          if self._option.quantize:
              for op in self._model.op:
                  if (
                      op.output[0] == output_info.name
                      and op.type == MaceOp.Dequantize.name
                  ):
                      replace_dict[op.input[0]] = output_info.name
                      break
              self._model.op.remove(op)
      for op in self._model.op:
          for i, op_input in enumerate(op.input):
              if op_input in replace_dict.keys():
                  op.input[i] = replace_dict[op_input]
          for i, op_output in enumerate(op.output):
              if op_output in replace_dict.keys():
                  op.output[i] = replace_dict[op_output]
  
imports: import copy
  import numpy
  from enum import Enum
  from operator import mul
  from py_proto import mace_pb2
  from transform import base_converter
  from transform.base_converter import ConverterUtil
  from transform.base_converter import EltwiseType
  from transform.base_converter import MaceKeyword
  from transform.base_converter import MaceOp
  from transform.base_converter import PaddingMode
  from transform.base_converter import PadType
  from transform.base_converter import PoolingType
  from transform.base_converter import ReduceType
  from transform.base_converter import DataFormat
  from transform.base_converter import FrameworkType
  from utils.util import mace_check
label_desc: Use image node_id 19 for calling the ApuConverter obj's underlying member method code with example usage: obj.use_quant_in_out() without return types