code: def get_quantized_weight(self):
      # suppress mypy warning
      assert isinstance(self.weight_scale, torch.Tensor)
      assert isinstance(self.weight_zero_point, torch.Tensor)
      # assert isinstance(self.weight_axis, torch.Tensor)
      if self.is_decomposed:
          return _quantize_weight_decomposed(
              self.weight,  # type: ignore[arg-type]
              self.weight_qscheme,
              self.weight_dtype,
              self.weight_scale,
              self.weight_zero_point,
              self.weight_axis_int,
              self.weight_quant_min,
              self.weight_quant_max,
          )
      else:
          return _quantize_weight(
              self.weight,  # type: ignore[arg-type]
              self.weight_qscheme,
              self.weight_dtype,
              self.weight_scale,
              self.weight_zero_point,
              self.weight_axis_int,
          )
  
file_path: pytorch/torch/ao/nn/quantized/reference/modules/utils.py
imports: import torch
  import typing
label_desc: Use image node_id 3 for calling the ReferenceQuantizedModule obj's underlying member method code with example usage: obj.get_quantized_weight() and returns: _quantize_weight_decomposed, _quantize_weight