def METHOD_NAME(self, inputs):
    self._scale = None
    self._zero_point = None
    self._min = None
    self._max = None
    if self._hist_min is None or self._hist_max is None:
        self._hist_min, self._hist_max = self._min_max(inputs)
        self._hist = self._init_hists(inputs)
    else:
        new_min, new_max, new_hist = self._update_min_max_and_hist(
            inputs,
            self._hist_min,
            self._hist_max,
            self._hist,
            self._bin_count,
            self._upsample_bin_count, )
        self._hist_min, self._hist_max = new_min, new_max
        self._hist = new_hist
    return inputs