code: def create_hub_module_object():
      """Creates an exportable saved model object."""
      obj = tf.train.Checkpoint()
      obj.__call__ = get_stylize_fn()
      obj.variables = list(obj.__call__.graph.variables)
      # To avoid error related to reading expected variable save_counter.
      obj.save_counter  # pylint: disable=pointless-statement
      return obj
  
file_path: magenta/magenta/models/arbitrary_image_stylization/export_hub.py
imports: from absl import flags
  from magenta.models.arbitrary_image_stylization import arbitrary_image_stylization_build_model
  import tensorflow.compat.v1
label_desc: Use image node_id 3 for calling a global function with example usage: create_hub_module_object() and returns: obj