code: def _save_restore_tf_model(model):
      tmpdir = tempfile.mkdtemp()
      tf.keras.models.save_model(model, tmpdir, save_format="tf")
      with prune.prune_scope():
          loaded_model = tf.keras.models.load_model(tmpdir)
      return loaded_model
  
file_path: model-optimization/tensorflow_model_optimization/python/core/sparsity/keras/test_utils.py
imports: import tempfile
  import numpy
  import tensorflow
  from tensorflow_model_optimization.python.core.sparsity.keras import prune
  from tensorflow_model_optimization.python.core.sparsity.keras import pruning_utils
  from tensorflow_model_optimization.python.core.sparsity.keras import pruning_wrapper
label_desc: Use image node_id 9 for calling a global function with example usage: _save_restore_tf_model(model) and returns: loaded_model