def dict_mean()

in ppo_ewma/minibatch_optimize.py [0:0]


def dict_mean(ds):
    return {k: sum(d[k] for d in ds) / len(ds) for k in ds[0].keys()}