bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
loss_type.h File Reference
#include <string>
Include dependency graph for loss_type.h:

Go to the source code of this file.

Namespaces

namespace  bitrl
 Various utilities used when working with RL problems.
namespace  bitrl::utils

Enumerations

enum class  bitrl::utils::LossType : char { bitrl::utils::INVALID_TYPE = -1 , bitrl::utils::CROSS_ENTROPY = 0 , bitrl::utils::MSE }
 The loss functions a model can be trained with. More...

Functions

std::string bitrl::utils::to_string (LossType type)
 to_string. Returns the name of the given LossType
constexpr bool bitrl::utils::compare (LossType tp1, LossType tp2)
 compare. Returns true when the two types are the same