MCPcopy Create free account
hub / github.com/ComputationalRobotics/XM-code / opt_option

Class opt_option

XM/include/Optimization/optimization.h:14–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12using opt_var = DeviceDnTen<datatype>;
13
14class opt_option {
15 public:
16 enum Method {
17 GradientDescent = 1,
18 NewtonMethod = 2
19 };
20
21 opt_option(){};
22 Method method = GradientDescent;
23
24 // gradient decent
25 double lr_gd = 0.1;
26 size_l max_iteration_gd = 100;
27};
28
29class Optimizer {
30public:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected