Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for test_reuse_calibration_data (0.26 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py

        self.assertLess(
            testing.get_size_ratio(
                self._output_saved_model_path, self._input_saved_model_path
            ),
            0.65,
        )
    
      def test_reuse_calibration_data(self):
        _, y_shape, bias_shape, x_signature, y_signature = (
            self._prepare_sample_einsum_datashapes('abc,cde->abde', use_bias=True)
        )
    
        self._create_einsum_model(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

        # The difference between TF and target path is expected to be small.
        self.assertAllClose(new_outputs, got_outputs, atol=0.097)
        self.assertAllClose(new_outputs, expected_outputs, atol=0.057)
    
      def test_reuse_calibration_data(self):
        model = self._create_simple_gather_and_conv_model(
            dtypes.int32, filter_shape=(2, 3, 3, 1024)
        )
        saved_model_save.save(model, self._input_saved_model_path)
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
Back to top