def log_diagnostics(self, paths=None, prefix='', logger=None):
    from rllab.misc import logger
    for key in self.info_logKeys:
        logger.record_tabular(((prefix + 'max_') + key), np.mean([max(path['env_infos'][key]) for path in paths]))
        logger.record_tabular(((prefix + 'last_') + key), np.mean([path['env_infos'][key][(- 1)] for path in paths]))
        logger.record_tabular(((prefix + 'mean_') + key), np.mean([np.mean(path['env_infos'][key]) for path in paths]))
def log_diagnostics(self, paths=None, prefix=, logger=None):
    from rllab.misc import logger
    for key in self.info_logKeys:
        logger.record_tabular(((prefix + 'max_') + key), np.mean([max(path['env_infos'][key]) for path in paths]))
        logger.record_tabular(((prefix + 'last_') + key), np.mean([path['env_infos'][key][(- 1)] for path in paths]))
        logger.record_tabular(((prefix + 'mean_') + key), np.mean([np.mean(path['env_infos'][key]) for path in paths]))