Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for RepresentativeDatasetSaver (0.21 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/python/representative_dataset_test.py

            sample, signature_def
        )
    
        self.assertEmpty(feed_dict)
    
    
    class RepresentativeDatasetSaverTest(test.TestCase):
      """Test cases for RepresentativeDatasetSaver."""
    
      def test_save_raises_error(self):
        saver = repr_dataset.RepresentativeDatasetSaver()
        repr_ds = {'serving_default': []}
    
        with self.assertRaisesRegex(
            NotImplementedError, 'Method "save" is not implemented.'
        ):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 04 07:35:19 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/python/representative_dataset.py

    _RepresentativeDataSample = quantization_options_pb2.RepresentativeDataSample
    _RepresentativeDatasetFile = quantization_options_pb2.RepresentativeDatasetFile
    
    
    class RepresentativeDatasetSaver:
      """Representative dataset saver.
    
      Exposes a single method `save` that saves the provided representative dataset
      into files.
    
      This is useful when you would like to keep a snapshot of your representative
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 22:55:22 UTC 2024
    - 14.2K bytes
    - Viewed (0)
Back to top