Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for assertIsNotNone (0.29 sec)

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

        # Use default QuantizationOptions.
        converted_model = quantize_model.quantize(
            self._input_saved_model_path,
            representative_dataset=self._simple_model_data_gen(),
        )
    
        self.assertIsNotNone(converted_model)
        self.assertCountEqual(
            converted_model.signatures._signatures.keys(), {'serving_default'}
        )
    
        # Indirectly prove that it is performing a static-range quantization
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/concurrency_test.py

        # concurrency issue.
        with self.pool:
          jobs = []
          for _ in range(10):
            jobs.append(self.pool.submit(self._convert_with_calibration))
    
          for job in jobs:
            self.assertIsNotNone(job.result())
    
    
    if __name__ == '__main__':
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 11 00:47:05 UTC 2023
    - 3.6K bytes
    - Viewed (0)
Back to top