(stats_list, logger_fn=tf.logging.info)
Calls the given logger function on each `Statistic` in the list.

  Args:
    stats_list: A list of `Statistic` objects.
    logger_fn: The function which will be called on the string representation
        of each `Statistic`.
Calls the given logger function on each `Statistic` in the list.
Calls the given logger function on each Statistic in the list .
def log_statistics_list(stats_list, logger_fn=tf.logging.info):
  """Calls the given logger function on each `Statistic` in the list.

  Args:
    stats_list: A list of `Statistic` objects.
    logger_fn: The function which will be called on the string representation
        of each `Statistic`.
  """
  for stat in sorted(stats_list, key=lambda s: s.name):
    logger_fn(str(stat))
def log_statistics_list ( stats_list , logger_fn = tf . logging . info ) : for stat in sorted ( stats_list , key = lambda s : s . name ) : logger_fn ( str ( stat ) )