(p)
| 66 | # %%cache mode |
| 67 | |
| 68 | def obj_func_for_cache_mode(p): |
| 69 | costly_function() |
| 70 | x1, x2 = p |
| 71 | x = np.square(x1) + np.square(x2) |
| 72 | return 0.5 + (np.square(np.sin(x)) - 0.5) / np.square(1 + 0.001 * x) |
| 73 | |
| 74 | |
| 75 | for task_type in ('io_costly', 'cpu_costly'): |
nothing calls this directly
no test coverage detected