- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for _any_log_contains (0.21 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test_base.py
tensor_spec.TensorSpec( shape=input_shape, dtype=dtypes.float32, name='input_tensor' ) ), ) return model def _any_log_contains( self, substring: str, log_record_list: List['logging.LogRecord'] ) -> bool: """Returns True if any of the log contains a given substring. Args:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 06:31:57 UTC 2024 - 18.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py
quantization.quantize_saved_model( self._input_saved_model_path, self._output_saved_model_path, config, ) self.assertTrue( self._any_log_contains( 'Calibration step is executed in graph mode.', info_logs.records, ) ) module_str = self._extract_first_xla_call_module_op(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 06:31:57 UTC 2024 - 51.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py
""" total = 0 for root, _, files in os.walk(path): for filename in files: total += os.path.getsize(os.path.join(root, filename)) return total def _any_log_contains( self, substring: str, log_record_list: List['logging.LogRecord'] ) -> bool: """Returns True if any of the log contains a given substring. Args:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 21 08:51:46 UTC 2024 - 51.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py
) finally: # Restore the logger verbosity. logging.set_verbosity(prev_log_level) self.assertNotEmpty(info_logs.records) self.assertTrue( self._any_log_contains( 'Calibration step is executed in graph mode.', info_logs.records, ) ) class TensorNamePreservationTest(quantize_model_test_base.QuantizedModelTest):
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 03:36:50 UTC 2024 - 235.6K bytes - Viewed (0)