File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -371,7 +371,7 @@ timer.result()
371
371
372
372
In this example we will show how to send complex tasks to adaptive as coroutines.
373
373
We require an asynchronous client to perform the execution of asynchronous tasks.
374
- In this case, it is imported from ` dask.distributed ` .
374
+ Here we will use ` dask.distributed ` .
375
375
376
376
``` {code-cell} ipython3
377
377
from dask.distributed import Client
@@ -404,7 +404,7 @@ async def async_h(x):
404
404
return await client.submit(h, x)
405
405
```
406
406
407
- When provide the asynchronous function to the ` learner ` and run it via ` AsyncRunner ` .
407
+ When providing the asynchronous function to the ` learner ` and run it via ` AsyncRunner ` .
408
408
409
409
``` {code-cell} ipython3
410
410
learner = adaptive.Learner1D(async_h, bounds=(-1, 1))
You can’t perform that action at this time.
0 commit comments