31 return "CROSS_ENTROPY";
35 return "INVALID_TYPE";
37 return "INVALID_TYPE";
Definition bitrl_concepts.h:22
std::string to_string(LossType type)
to_string. Returns the name of the given LossType
Definition loss_type.h:26
LossType
The loss functions a model can be trained with.
Definition loss_type.h:15
@ CROSS_ENTROPY
Definition loss_type.h:17
@ INVALID_TYPE
Definition loss_type.h:16
@ MSE
Definition loss_type.h:18
constexpr bool compare(LossType tp1, LossType tp2)
compare. Returns true when the two types are the same
Definition loss_type.h:43
Various utilities used when working with RL problems.
Definition bitrl_log.h:25