Skip to content

Commit ccd2f00

Browse files
committed
Deploying to gh-pages from @ 8beece3 🚀
1 parent a0d8c9f commit ccd2f00

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

generated/array_api_extra.lazy_apply.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,11 @@ <h1>array_api_extra.lazy_apply<a class="headerlink" href="#array-api-extra-lazy-
345345
<a class="reference external" href="https://numpy.org/doc/stable/reference/generated/numpy.asarray.html#numpy.asarray" title="(in NumPy v2.2)"><code class="xref py py-func docutils literal notranslate"><span class="pre">numpy.asarray()</span></code></a>. <a class="reference external" href="https://sparse.pydata.org/en/stable/operations.html#package-configuration">This safety mechanism can be disabled</a>.</p>
346346
</dd>
347347
<dt>Dask</dt><dd><p>This allows applying eager functions to Dask arrays.
348-
The Dask graph won’t be computed.</p>
348+
The Dask graph won’t be computed until the user calls <code class="docutils literal notranslate"><span class="pre">compute()</span></code> or
349+
<code class="docutils literal notranslate"><span class="pre">persist()</span></code> down the line.</p>
350+
<p>The function name will be prominently visible on the user-facing Dask
351+
dashboard and on Prometheus metrics, so it is recommended for it to be
352+
meaningful.</p>
349353
<p><cite>lazy_apply</cite> doesn’t know if <cite>func</cite> reduces along any axes; also, shape
350354
changes are non-trivial in chunked Dask arrays. For these reasons, all inputs
351355
will be rechunked into a single chunk.</p>

0 commit comments

Comments
 (0)