def compute_range(self):
        """
        Compute the min-max range of tensor
        :return: dictionary mapping: {tensor name: (min value, max value)}
        """
        if not self.collector:
            raise ValueError("No collector created and can't generate calibration data.")

        return self.collector.compute_collection_result()

        Compute the min-max range of tensor
        :return: dictionary mapping: {tensor name: (min value, max value)}
        
olive/passes/onnx/vitis_ai/calibrate.py