code: def qweight(self):
      if isinstance(self.weight, QTensor):
          return self.weight
      # Quantize the weights per-axis
      if isinstance(self.weights, torch.dtype):
          wscale = absmax_scale(self.weight, axis=0)
          return QTensor.quantize(
              self.weight, itype=self.weights, scale=wscale
          )
      elif isinstance(self.weights, qbitsdtype):
          return QBitsTensor.quantize(
              self.weight, itype=self.weights, axis=0
          )
      raise ValueError("Invalid quantized weights type")
  
file_path: quanto/quanto/nn/qlinear.py
imports: from typing import Optional
  import torch
  from ..tensor import QBitsTensor, QTensor, absmax_scale, qbitsdtype
  from .qmodule import QModuleMixin, register_qmodule
label_desc: Use image node_id 3 for calling the QLinear obj's underlying member method code with example usage: obj.qweight() and returns: self, QTensor, QBitsTensor