| 79 | // ---------------------------------------------------------------------------------------- |
| 80 | |
| 81 | size_t py_count_steps_without_decrease ( |
| 82 | py::object arr, |
| 83 | double probability_of_decrease |
| 84 | ) |
| 85 | { |
| 86 | DLIB_CASSERT(0.5 < probability_of_decrease && probability_of_decrease < 1); |
| 87 | return count_steps_without_decrease(python_list_to_vector<double>(arr), probability_of_decrease); |
| 88 | } |
| 89 | |
| 90 | // ---------------------------------------------------------------------------------------- |
| 91 |
nothing calls this directly
no test coverage detected