code: def ds_quantizer(input, groups=1, bit_num=8, sr=False, asym=False):
      # Load cuda modules if needed
      global quantizer_cuda_module
      if quantizer_cuda_module is None:
          quantizer_cuda_module = QuantizerBuilder().load()
      if sr:
          if asym:
              quantize_func = (
                  quantizer_cuda_module.ds_sr_quantize_asym_fp16
                  if input.dtype == torch.half
                  else quantizer_cuda_module.ds_sr_quantize_asym_fp32
              )
          else:
              quantize_func = (
                  quantizer_cuda_module.ds_sr_quantize_fp16
                  if input.dtype == torch.half
                  else quantizer_cuda_module.ds_sr_quantize_fp32
              )
      else:
          if asym:
              quantize_func = (
                  quantizer_cuda_module.ds_quantize_asym_fp16
                  if input.dtype == torch.half
                  else quantizer_cuda_module.ds_quantize_asym_fp32
              )
          else:
              quantize_func = (
                  quantizer_cuda_module.ds_quantize_fp16
                  if input.dtype == torch.half
                  else quantizer_cuda_module.ds_quantize_fp32
              )
      return quantize_func(input, groups, bit_num)
  
label_desc: Use image node_id 1 for calling a global function with example usage: ds_quantizer(input, groups, bit_num, sr, asym) and returns: quantize_func