()
return obj
Creates an exportable saved model object.
Creates an exportable saved model object.
Creates an exportable saved model object .
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
def create_hub_module_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