We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5326cbd + fcddde3 commit 8beece3Copy full SHA for 8beece3
src/array_api_extra/_lib/_lazy.py
@@ -144,7 +144,12 @@ def lazy_apply( # type: ignore[valid-type] # numpydoc ignore=GL07,SA04
144
145
Dask
146
This allows applying eager functions to Dask arrays.
147
- The Dask graph won't be computed.
+ The Dask graph won't be computed until the user calls ``compute()`` or
148
+ ``persist()`` down the line.
149
+
150
+ The function name will be prominently visible on the user-facing Dask
151
+ dashboard and on Prometheus metrics, so it is recommended for it to be
152
+ meaningful.
153
154
`lazy_apply` doesn't know if `func` reduces along any axes; also, shape
155
changes are non-trivial in chunked Dask arrays. For these reasons, all inputs
0 commit comments