def __repr__(self):
    text = list()
    text.append('{:^20}'.format(self.name))
    text.append('{:^10.1f}'.format(self.total_time))
    if ('eval' not in self.name):
        text.append('{:^9.2e}'.format(self.lr))
        text.append('{:^9.2e}'.format(self.noise_std))
        text.append('{:^d}'.format(self.buffer_size))
        text.append('{}'.format(self.final_stats['global_step']))
    text.append('{:^20}'.format(self.average_reward))
    if ('eval' not in self.name):
        (mi, ma, mea) = self.final_stats['g_norm_actor']
        text.append('{:5.2e},{:5.2e},{:5.2e}'.format(mi, ma, mea))
        (mi, ma, mea) = self.final_stats['g_norm_critic']
        text.append('{:5.2e},{:5.2e},{:5.2e}'.format(mi, ma, mea))
        text.append('{:^10.2e}'.format(self.final_stats['q_loss']))
    if ('pol' in self.name):
        (mi, ma, mea) = self.final_stats['g_norm_critic']
        text.append('{:5.2e},{:5.2e},{:5.2e}'.format(mi, ma, mea))
        text.append('{:^10.2e}'.format(self.final_stats['q_loss']))
    if (len(self.final_stats.keys()) > 0):
        text.append('{:^6.5f}'.format(self.final_stats['online_rewards']))
    return ' | '.join(text)
def __repr__(self):
    text = list()
    text.append('{:^20}'.format(self.name))
    text.append('{:^10.1f}'.format(self.total_time))
    if ('eval' not in self.name):
        text.append('{:^9.2e}'.format(self.lr))
        text.append('{:^9.2e}'.format(self.noise_std))
        text.append('{:^d}'.format(self.buffer_size))
        text.append('{}'.format(self.final_stats['global_step']))
    text.append('{:^20}'.format(self.average_reward))
    if ('eval' not in self.name):
        (mi, ma, mea) = self.final_stats['g_norm_actor']
        text.append('{:5.2e},{:5.2e},{:5.2e}'.format(mi, ma, mea))
        (mi, ma, mea) = self.final_stats['g_norm_critic']
        text.append('{:5.2e},{:5.2e},{:5.2e}'.format(mi, ma, mea))
        text.append('{:^10.2e}'.format(self.final_stats['q_loss']))
    if ('pol' in self.name):
        (mi, ma, mea) = self.final_stats['g_norm_critic']
        text.append('{:5.2e},{:5.2e},{:5.2e}'.format(mi, ma, mea))
        text.append('{:^10.2e}'.format(self.final_stats['q_loss']))
    if (len(self.final_stats.keys()) > 0):
        text.append('{:^6.5f}'.format(self.final_stats['online_rewards']))
    return ' | '.join(text)