- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for write_string_to_file (0.17 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py
asset_dir = self.create_tempdir('assets').full_path asset_file = os.path.join(asset_dir, 'vocab_file.txt') content = '\n'.join(['static', 'range', 'quantization']) file_io.write_string_to_file(filename=asset_file, file_content=content) # The resulting table looks like: # "static" -> 0 # "range" -> 1 # "quantization" -> 2 # default -> -1
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
) asset_filename = 'assets.extra/tf_serving_warmup_requests' file_io.create_dir_v2( os.path.join(self._input_saved_model_path, 'assets.extra') ) file_io.write_string_to_file( filename=os.path.join(self._input_saved_model_path, asset_filename), file_content='Test content', ) tags = {tag_constants.SERVING}
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 03:36:50 UTC 2024 - 235.6K bytes - Viewed (0)