(metrics)
return list(metrics_dict.keys())
Gets the names of the metrics.

    Args:
        metrics: Dict keyed by client id. Each element is a dict of metrics
            for that client in the specified round. The dicts for all clients
            are expected to have the same set of keys.
Gets the names of the metrics.
Gets the names of the metrics .
def get_metrics_names(metrics):
    """Gets the names of the metrics.

    Args:
        metrics: Dict keyed by client id. Each element is a dict of metrics
            for that client in the specified round. The dicts for all clients
            are expected to have the same set of keys."""
    if len(metrics) == 0:
        return []
    metrics_dict = next(iter(metrics.values()))
    return list(metrics_dict.keys())
def get_metrics_names ( metrics ) : if len ( metrics ) == 0 : return [ ] metrics_dict = next ( iter ( metrics . values ( ) ) ) return list ( metrics_dict . keys ( ) )