code: def add_quantize_args(params):
      params = params.add_argument_group("Quantization")
      params.add_argument(
          "--model",
          "-m",
          required=True,
          help=f'Model (directory) to quantize in place. "{C.PARAMS_BEST_NAME}" will be replaced with a '
          f'quantized version and "{C.CONFIG_NAME}" will be updated with the new dtype. The '
          "original files will be backed up with suffixes indicating the starting dtype (e.g., "
          f'"{C.PARAMS_BEST_NAME}.{C.DTYPE_FP32}" and "{C.CONFIG_NAME}.{C.DTYPE_FP32}").',
      )
      params.add_argument(
          "--dtype",
          default=C.DTYPE_FP16,
          choices=[C.DTYPE_FP32, C.DTYPE_FP16, C.DTYPE_BF16],
          help="Target data type for quantization. Default: %(default)s.",
      )
  
imports: import argparse
  import os
  import sys
  import types
  from typing import Any, Callable, Dict, List, Tuple, Optional
  import yaml
  from sockeye.utils import smart_open
  from .None import constants
label_desc: Use image node_id 17 for calling a global function with example usage: add_quantize_args(params) without return types