class_docstr: Quantizer using the DoReFa scheme, as defined in:
  Zhou et al., DoReFa-Net: Training Low Bitwidth Convolutional Neural Networks with Low Bitwidth Gradients
  (https://arxiv.org/abs/1606.06160)
code: def __init__(self, model, config_list, optimizer=None):
      super().__init__(model, config_list, optimizer)
  
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 1 to create a new DoReFaQuantizer object from inherited base classes: Quantizer with example: obj = DoReFaQuantizer(model, config_list, optimizer)