class_docstr: Quantizer defined in:
  Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inference
  http://openaccess.thecvf.com/content_cvpr_2018/papers/Jacob_Quantization_and_Training_CVPR_2018_paper.pdf
docstr: dequantize quantized value.
  Because we simulate quantization in training process, all the computations still happen as float point computations, which means we
  first quantize tensors then dequantize them. For more details, please refer to the paper.
  
  Parameters
  ----------
  op : torch.nn.Module
      target module
  quantized_val : float
      quantized_val value to be dequantized
  
  Returns
  -------
  float
docstr_tok: ["dequantize","quantized","value",".","Because","we","simulate","quantization","in","training","process",",","all","the","computations","still","happen","as","float","point","computations",",","which","means","we","first","quantize","tensors","then","dequantize","them",".","For","more","details",",","please","refer","to","the","paper",".","Parameters","--","--","--","--","--","op",":","torch.nn.Module","target","module","quantized_val",":","float","quantized_val","value","to","be","dequantized","Returns","--","--","--","-","float"]
code: def _dequantize(self, op, quantized_val):
      """
      dequantize quantized value.
      Because we simulate quantization in training process, all the computations still happen as float point computations, which means we
      first quantize tensors then dequantize them. For more details, please refer to the paper.
  
      Parameters
      ----------
      op : torch.nn.Module
          target module
      quantized_val : float
          quantized_val value to be dequantized
  
      Returns
      -------
      float
      """
      real_val = op.scale * (quantized_val - op.zero_point)
      return real_val
  
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 4 for calling the QAT_Quantizer obj's underlying member method code with example usage: obj._dequantize(op, quantized_val) and returns: real_val