def get_average_att_network(networks, select='accuracy'):
    """Get the average accuracy for a group of networks.
    Args:
        networks (list): List of networks
    Returns:
        float: The average accuracy of a population of networks.
    """
    total = 0
    for network in networks:
        if select == 'accuracy':
            total += network.accuracy
        elif select == 'params':
            total += network.params
        elif select == 'flops':
            total += network.flops

    return total / len(networks)