| 74 | |
| 75 | template <typename trainer_type> |
| 76 | py::class_<trainer_type> setup_trainer_eps ( |
| 77 | py::module& m, |
| 78 | const std::string& name |
| 79 | ) |
| 80 | { |
| 81 | return py::class_<trainer_type>(m, name.c_str()) |
| 82 | .def("train", train<trainer_type>) |
| 83 | .def_property("epsilon", get_epsilon<trainer_type>, set_epsilon<trainer_type>); |
| 84 | } |
| 85 | |
| 86 | template <typename trainer_type> |
| 87 | py::class_<trainer_type> setup_trainer_eps_c ( |
nothing calls this directly
no outgoing calls
no test coverage detected