Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for write_string_to_file (0.43 sec)

  1. 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)
Back to top