ding.bonus.common¶
ding.bonus.common
¶
Full Source Code
../ding/bonus/common.py
1from dataclasses import dataclass 2import numpy as np 3 4 5@dataclass 6class TrainingReturn: 7 ''' 8 Attributions 9 wandb_url: The weight & biases (wandb) project url of the trainning experiment. 10 ''' 11 wandb_url: str 12 13 14@dataclass 15class EvalReturn: 16 ''' 17 Attributions 18 eval_value: The mean of evaluation return. 19 eval_value_std: The standard deviation of evaluation return. 20 ''' 21 eval_value: np.float32 22 eval_value_std: np.float32