code: def script_qconfig(qconfig):
      r"""Instantiate the activation and weight observer modules and script
      them, these observer module instances will be deepcopied during
      prepare_jit step.
      """
      return QConfig(
          activation=torch.jit.script(qconfig.activation())._c,
          weight=torch.jit.script(qconfig.weight())._c,
      )
  
imports: import torch
  from torch.ao.quantization.qconfig import QConfig
  from torch.ao.quantization.quant_type import QuantType
  from torch.jit._recursive import wrap_cpp_module
label_desc: Use image node_id 3 for calling a global function with example usage: script_qconfig(qconfig) and returns: QConfig