Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_average_min_max (0.15 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_algorithm_test.py

        min_value, max_value = calibration_algorithm.get_min_max_value(
            statistics, calib_opts
        )
        self.assertAllEqual((min_value, max_value), (1.0, 5.0))
    
      def test_average_min_max(self):
        calib_opts = stablehlo_quant_config_pb2.CalibrationOptions(
            calibration_method=_CalibrationMethod.CALIBRATION_METHOD_AVERAGE_MIN_MAX
        )
        statistics = calib_stats_pb2.CalibrationStatistics()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 11 19:29:56 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top