class_docstr: quantize weight to 8 bits
      
code: def validate_config(self, model, config_list):
      schema = CompressorSchema(
          [
              {
                  Optional("quant_types"): ["weight"],
                  Optional("quant_bits"): Or(8, {"weight": 8}),
                  Optional("op_types"): [str],
                  Optional("op_names"): [str],
              }
          ],
          model,
          logger,
      )
  
      schema.validate(config_list)
  
imports: import logging
  import copy
  import torch
  from schema import Schema, And, Or, Optional
  from ..utils.config_validation import CompressorSchema
  from ..compressor import Quantizer, QuantGrad, QuantType
label_desc: Use image node_id 2 for calling the NaiveQuantizer obj's underlying member method code with example usage: obj.validate_config(model, config_list) without return types