code: def _dispatch_model_format(model_format, saved_model_fn, *args):
      """Dispatches the correct save function based on the model format."""
      if model_format == "TF2SavedModel_SavedRaw":
          saved_model_fn(*args, save_from_keras=False)
      elif model_format == "TF2SavedModel_SavedFromKeras":
          saved_model_fn(*args, save_from_keras=True)
      else:
          raise ValueError("Unrecognized format: " + format)
  
imports: import json
  import os
  from absl.testing import parameterized
  import numpy
  import tensorflow
  import tensorflow_hub
label_desc: Use image node_id 14 for calling a global function with example usage: _dispatch_model_format(model_format, saved_model_fn) without return types