bitrl & cuberl Documentation
Simulation engine for reinforcement learning agents
Loading...
Searching...
No Matches
cuberl::maths::optim Namespace Reference

Functions

 BETTER_ENUM (OptimzerType, char, INVALID_TYPE=-1, GD=0, SGD, ADAM, RSPROP)
 The RenderModeType enum.
 
std::string to_string (OptimzerType type)
 to_string. Returns the RenderModeType to its stringrepresentation
 
constexpr bool compare (OptimzerType tp1, OptimzerType tp2)
 

Function Documentation

◆ BETTER_ENUM()

cuberl::maths::optim::BETTER_ENUM ( OptimzerType  ,
char  ,
INVALID_TYPE  = -1,
GD  = 0,
SGD  ,
ADAM  ,
RSPROP   
)

The RenderModeType enum.

◆ compare()

constexpr bool cuberl::maths::optim::compare ( OptimzerType  tp1,
OptimzerType  tp2 
)
inlineconstexpr

◆ to_string()

std::string cuberl::maths::optim::to_string ( OptimzerType  type)
inline

to_string. Returns the RenderModeType to its stringrepresentation

Parameters
typeThe RenderModeType to convert
Returns
std::string