| 90 | // ---------------------------------------------------------------------------------------- |
| 91 | |
| 92 | size_t py_count_steps_without_decrease_robust ( |
| 93 | py::object arr, |
| 94 | double probability_of_decrease, |
| 95 | double quantile_discard |
| 96 | ) |
| 97 | { |
| 98 | DLIB_CASSERT(0.5 < probability_of_decrease && probability_of_decrease < 1); |
| 99 | DLIB_CASSERT(0 <= quantile_discard && quantile_discard <= 1); |
| 100 | return count_steps_without_decrease_robust(python_list_to_vector<double>(arr), probability_of_decrease, quantile_discard); |
| 101 | } |
| 102 | |
| 103 | // ---------------------------------------------------------------------------------------- |
| 104 |
nothing calls this directly
no test coverage detected