code: def apply_weight_quantization(self):
      # quantize attention weights
      self.attention_quantization()
  
      # quantize mlp weights
      self.mlp_quantization()
  
imports: from abc import ABC
  import torch
  import deepspeed
  from deepspeed.ops.transformer.inference.config import DeepSpeedInferenceConfig
  from deepspeed.accelerator import get_accelerator
label_desc: Use image node_id 14 for calling the BaseTransformerContainer obj's underlying member method code with example usage: obj.apply_weight_quantization() without return types