code: def set_trainer(self, trainer):
      self.trainer = trainer
      self.size_tracker = pq.SizeTracker(self.trainer.get_model())
  
file_path: fairseq/fairseq/quantization_utils.py
imports: import logging
  from fairseq.modules.quantization import pq, quantization_options, scalar
  from omegaconf import DictConfig
label_desc: Use image node_id 2 for calling the Quantizer obj's underlying member method code with example usage: obj.set_trainer(trainer) without return types