Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for assertKeys (0.3 sec)

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

        # values are arbitrary.
        self.assertAllClose(new_outputs, expected_outputs, rtol=0.3, atol=0.2)
    
        # Due to other meta data, the compression is not exactly 1/4.
        self.assertLess(
            testing.get_size_ratio(
                self._output_saved_model_path, self._input_saved_model_path
            ),
            0.65,
        )
    
        if merge_fusion_with_dequantize:
    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

            self._output_saved_model_path,
            quantization_options,
        )
        self.assertIsNotNone(converted_model)
        # Due to other meta data, the compression is not exactly 1/4.
        self.assertLess(
            testing.get_size_ratio(
                self._output_saved_model_path, self._input_saved_model_path
            ),
            0.5,
        )
    
      def test_qat_vocab_table_lookup_model(self):
    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