class_docstr: Unified histogram calibrator
  
  Histogram will be only collected once. compute_amax() performs entropy, percentile, or mse
      calibration based on arguments
  
  Args:
      num_bits: An integer. Number of bits of quantization.
      axis: A tuple. see QuantDescriptor.
      unsigned: A boolean. using unsigned quantization.
      num_bins: An integer. Number of histograms bins. Default 2048.
      grow_method: A string. DEPRECATED. default None.
      skip_zeros: A boolean. If True, skips zeros when collecting data for histogram. Default False.
      torch_hist: A boolean. If True, collect histogram by torch.histc instead of np.histogram. If input tensor
          is on GPU, histc will also be running on GPU. Default False.
class_docstr_tok: ["Unified","histogram","calibrator","Histogram","will","be","only","collected","once",".","compute_amax","(",")","performs","entropy",",","percentile",",","or","mse","calibration","based","on","arguments","Args",":","num_bits",":","An","integer",".","Number","of","bits","of","quantization",".","axis",":","A","tuple",".","see","QuantDescriptor",".","unsigned",":","A","boolean",".","using","unsigned","quantization",".","num_bins",":","An","integer",".","Number","of","histograms","bins",".","Default","2048.","grow_method",":","A","string",".","DEPRECATED",".","default","None",".","skip_zeros",":","A","boolean",".","If","True",",","skips","zeros","when","collecting","data","for","histogram",".","Default","False",".","torch_hist",":","A","boolean",".","If","True",",","collect","histogram","by","torch.histc","instead","of","np.histogram",".","If","input","tensor","is","on","GPU",",","histc","will","also","be","running","on","GPU",".","Default","False","."]
docstr: Reset the collected histogram
docstr_tok: ["Reset","the","collected","histogram"]
code: def reset(self):
      """Reset the collected histogram"""
      self._calib_bin_edges = None
      self._calib_hist = None
  
imports: from collections import Counter
  import numpy
  from scipy.stats import entropy
  import logging
  import torch
  from lightseq.training.pytorch_quantization.calib.calibrator import _Calibrator
  from lightseq.training.pytorch_quantization.tensor_quant import fake_tensor_quant
  from lightseq.training.pytorch_quantization import nn
  from lightseq.training.pytorch_quantization import utils
label_desc: Use image node_id 3 for calling the HistogramCalibrator obj's underlying member method code with example usage: obj.reset() without return types