code: def testSVD_ReducesSavedModelSize(self):
      model = _build_model()
  
      original_saved_model_dir = _save_as_saved_model(model)
  
      model_for_inference = svd.SVD(rank=16).compress_model(model)
  
      saved_model_dir = _save_as_saved_model(model_for_inference)
  
      original_size = _get_directory_size_in_bytes(
          original_saved_model_dir
      )
      compressed_size = _get_directory_size_in_bytes(saved_model_dir)
  
      self.assertLess(compressed_size, original_size / 3)
  
file_path: model-optimization/tensorflow_model_optimization/python/core/common/keras/compression/algorithms/different_training_and_inference_test.py
imports: import os
  import tempfile
  import tensorflow
  from tensorflow_model_optimization.python.core.common.keras.compression.algorithms import different_training_and_inference
  from tensorflow_model_optimization.python.core.keras.testing import test_utils_mnist
label_desc: Use image node_id 1 for calling the FunctionalTest obj's underlying member method code with example usage: obj.testSVD_ReducesSavedModelSize() without return types