bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
optimizer_type.h
Go to the documentation of this file.
1#ifndef OPTIMIZER_TYPE_H
2#define OPTIMIZER_TYPE_H
3
5#include <string>
6
7namespace bitrl
8{
9namespace maths
10{
11namespace optim
12{
13
17// BETTER_ENUM(OptimzerType, char, INVALID_TYPE=-1, GD=0, SGD, ADAM, RSPROP);
18
19enum class OptimizerType : int_t
20{
22 GD = 0,
26};
27
32
33// inline
34// std::string to_string(OptimizerType type){return type._to_string();}
35
36inline constexpr bool compare(OptimizerType tp1, OptimizerType tp2) { return tp1 == tp2; }
37
38} // namespace optim
39
40} // namespace maths
41} // namespace bitrl
42#endif // OPTIMIZER_TYPE_H
Definition optimizer_type.h:12
OptimizerType
The RenderModeType enum.
Definition optimizer_type.h:20
@ INVALID_TYPE
Definition optimizer_type.h:21
@ ADAM
Definition optimizer_type.h:24
@ SGD
Definition optimizer_type.h:23
@ GD
Definition optimizer_type.h:22
@ RSPROP
Definition optimizer_type.h:25
constexpr bool compare(OptimizerType tp1, OptimizerType tp2)
to_string. Returns the RenderModeType to its stringrepresentation
Definition optimizer_type.h:36
Definition lp_metric.h:10
Various utilities used when working with RL problems.
Definition bitrl_log.h:25
int int_t
integer type
Definition bitsim_types.h:30