Skip to content

Commit b44ba09

Browse files
committed
Deploying to gh-pages from @ a2891f7 🚀
1 parent 969c1b9 commit b44ba09

30 files changed

+469
-12
lines changed

_sources/api-reference.md.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
expand_dims
1717
isclose
1818
kron
19+
nan_to_num
1920
nunique
2021
one_hot
2122
pad
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
array\_api\_extra.nan\_to\_num
2+
==============================
3+
4+
.. currentmodule:: array_api_extra
5+
6+
.. autofunction:: nan_to_num

api-lazy.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@
212212
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.expand_dims.html">array_api_extra.expand_dims</a></li>
213213
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.isclose.html">array_api_extra.isclose</a></li>
214214
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.kron.html">array_api_extra.kron</a></li>
215+
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.nan_to_num.html">array_api_extra.nan_to_num</a></li>
215216
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.nunique.html">array_api_extra.nunique</a></li>
216217
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.one_hot.html">array_api_extra.one_hot</a></li>
217218
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.pad.html">array_api_extra.pad</a></li>

api-reference.html

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@
212212
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.expand_dims.html">array_api_extra.expand_dims</a></li>
213213
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.isclose.html">array_api_extra.isclose</a></li>
214214
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.kron.html">array_api_extra.kron</a></li>
215+
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.nan_to_num.html">array_api_extra.nan_to_num</a></li>
215216
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.nunique.html">array_api_extra.nunique</a></li>
216217
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.one_hot.html">array_api_extra.one_hot</a></li>
217218
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.pad.html">array_api_extra.pad</a></li>
@@ -306,19 +307,22 @@ <h1>API Reference<a class="headerlink" href="#api-reference" title="Link to this
306307
<tr class="row-even"><td><p><a class="reference internal" href="generated/array_api_extra.kron.html#array_api_extra.kron" title="array_api_extra.kron"><code class="xref py py-obj docutils literal notranslate"><span class="pre">kron</span></code></a></p></td>
307308
<td><p>Kronecker product of two arrays.</p></td>
308309
</tr>
309-
<tr class="row-odd"><td><p><a class="reference internal" href="generated/array_api_extra.nunique.html#array_api_extra.nunique" title="array_api_extra.nunique"><code class="xref py py-obj docutils literal notranslate"><span class="pre">nunique</span></code></a></p></td>
310+
<tr class="row-odd"><td><p><a class="reference internal" href="generated/array_api_extra.nan_to_num.html#array_api_extra.nan_to_num" title="array_api_extra.nan_to_num"><code class="xref py py-obj docutils literal notranslate"><span class="pre">nan_to_num</span></code></a></p></td>
311+
<td><p>Replace NaN with zero and infinity with large finite numbers (default behaviour).</p></td>
312+
</tr>
313+
<tr class="row-even"><td><p><a class="reference internal" href="generated/array_api_extra.nunique.html#array_api_extra.nunique" title="array_api_extra.nunique"><code class="xref py py-obj docutils literal notranslate"><span class="pre">nunique</span></code></a></p></td>
310314
<td><p>Count the number of unique elements in an array.</p></td>
311315
</tr>
312-
<tr class="row-even"><td><p><a class="reference internal" href="generated/array_api_extra.one_hot.html#array_api_extra.one_hot" title="array_api_extra.one_hot"><code class="xref py py-obj docutils literal notranslate"><span class="pre">one_hot</span></code></a></p></td>
316+
<tr class="row-odd"><td><p><a class="reference internal" href="generated/array_api_extra.one_hot.html#array_api_extra.one_hot" title="array_api_extra.one_hot"><code class="xref py py-obj docutils literal notranslate"><span class="pre">one_hot</span></code></a></p></td>
313317
<td><p>One-hot encode the given indices.</p></td>
314318
</tr>
315-
<tr class="row-odd"><td><p><a class="reference internal" href="generated/array_api_extra.pad.html#array_api_extra.pad" title="array_api_extra.pad"><code class="xref py py-obj docutils literal notranslate"><span class="pre">pad</span></code></a></p></td>
319+
<tr class="row-even"><td><p><a class="reference internal" href="generated/array_api_extra.pad.html#array_api_extra.pad" title="array_api_extra.pad"><code class="xref py py-obj docutils literal notranslate"><span class="pre">pad</span></code></a></p></td>
316320
<td><p>Pad the input array.</p></td>
317321
</tr>
318-
<tr class="row-even"><td><p><a class="reference internal" href="generated/array_api_extra.setdiff1d.html#array_api_extra.setdiff1d" title="array_api_extra.setdiff1d"><code class="xref py py-obj docutils literal notranslate"><span class="pre">setdiff1d</span></code></a></p></td>
322+
<tr class="row-odd"><td><p><a class="reference internal" href="generated/array_api_extra.setdiff1d.html#array_api_extra.setdiff1d" title="array_api_extra.setdiff1d"><code class="xref py py-obj docutils literal notranslate"><span class="pre">setdiff1d</span></code></a></p></td>
319323
<td><p>Find the set difference of two arrays.</p></td>
320324
</tr>
321-
<tr class="row-odd"><td><p><a class="reference internal" href="generated/array_api_extra.sinc.html#array_api_extra.sinc" title="array_api_extra.sinc"><code class="xref py py-obj docutils literal notranslate"><span class="pre">sinc</span></code></a></p></td>
325+
<tr class="row-even"><td><p><a class="reference internal" href="generated/array_api_extra.sinc.html#array_api_extra.sinc" title="array_api_extra.sinc"><code class="xref py py-obj docutils literal notranslate"><span class="pre">sinc</span></code></a></p></td>
322326
<td><p>Return the normalized sinc function.</p></td>
323327
</tr>
324328
</tbody>

contributing.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@
212212
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.expand_dims.html">array_api_extra.expand_dims</a></li>
213213
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.isclose.html">array_api_extra.isclose</a></li>
214214
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.kron.html">array_api_extra.kron</a></li>
215+
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.nan_to_num.html">array_api_extra.nan_to_num</a></li>
215216
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.nunique.html">array_api_extra.nunique</a></li>
216217
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.one_hot.html">array_api_extra.one_hot</a></li>
217218
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.pad.html">array_api_extra.pad</a></li>

contributors.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@
212212
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.expand_dims.html">array_api_extra.expand_dims</a></li>
213213
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.isclose.html">array_api_extra.isclose</a></li>
214214
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.kron.html">array_api_extra.kron</a></li>
215+
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.nan_to_num.html">array_api_extra.nan_to_num</a></li>
215216
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.nunique.html">array_api_extra.nunique</a></li>
216217
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.one_hot.html">array_api_extra.one_hot</a></li>
217218
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.pad.html">array_api_extra.pad</a></li>

generated/array_api_extra.apply_where.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@
212212
<li class="toctree-l2"><a class="reference internal" href="array_api_extra.expand_dims.html">array_api_extra.expand_dims</a></li>
213213
<li class="toctree-l2"><a class="reference internal" href="array_api_extra.isclose.html">array_api_extra.isclose</a></li>
214214
<li class="toctree-l2"><a class="reference internal" href="array_api_extra.kron.html">array_api_extra.kron</a></li>
215+
<li class="toctree-l2"><a class="reference internal" href="array_api_extra.nan_to_num.html">array_api_extra.nan_to_num</a></li>
215216
<li class="toctree-l2"><a class="reference internal" href="array_api_extra.nunique.html">array_api_extra.nunique</a></li>
216217
<li class="toctree-l2"><a class="reference internal" href="array_api_extra.one_hot.html">array_api_extra.one_hot</a></li>
217218
<li class="toctree-l2"><a class="reference internal" href="array_api_extra.pad.html">array_api_extra.pad</a></li>

generated/array_api_extra.at.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@
212212
<li class="toctree-l2"><a class="reference internal" href="array_api_extra.expand_dims.html">array_api_extra.expand_dims</a></li>
213213
<li class="toctree-l2"><a class="reference internal" href="array_api_extra.isclose.html">array_api_extra.isclose</a></li>
214214
<li class="toctree-l2"><a class="reference internal" href="array_api_extra.kron.html">array_api_extra.kron</a></li>
215+
<li class="toctree-l2"><a class="reference internal" href="array_api_extra.nan_to_num.html">array_api_extra.nan_to_num</a></li>
215216
<li class="toctree-l2"><a class="reference internal" href="array_api_extra.nunique.html">array_api_extra.nunique</a></li>
216217
<li class="toctree-l2"><a class="reference internal" href="array_api_extra.one_hot.html">array_api_extra.one_hot</a></li>
217218
<li class="toctree-l2"><a class="reference internal" href="array_api_extra.pad.html">array_api_extra.pad</a></li>

generated/array_api_extra.atleast_nd.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@
212212
<li class="toctree-l2"><a class="reference internal" href="array_api_extra.expand_dims.html">array_api_extra.expand_dims</a></li>
213213
<li class="toctree-l2"><a class="reference internal" href="array_api_extra.isclose.html">array_api_extra.isclose</a></li>
214214
<li class="toctree-l2"><a class="reference internal" href="array_api_extra.kron.html">array_api_extra.kron</a></li>
215+
<li class="toctree-l2"><a class="reference internal" href="array_api_extra.nan_to_num.html">array_api_extra.nan_to_num</a></li>
215216
<li class="toctree-l2"><a class="reference internal" href="array_api_extra.nunique.html">array_api_extra.nunique</a></li>
216217
<li class="toctree-l2"><a class="reference internal" href="array_api_extra.one_hot.html">array_api_extra.one_hot</a></li>
217218
<li class="toctree-l2"><a class="reference internal" href="array_api_extra.pad.html">array_api_extra.pad</a></li>

generated/array_api_extra.broadcast_shapes.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@
212212
<li class="toctree-l2"><a class="reference internal" href="array_api_extra.expand_dims.html">array_api_extra.expand_dims</a></li>
213213
<li class="toctree-l2"><a class="reference internal" href="array_api_extra.isclose.html">array_api_extra.isclose</a></li>
214214
<li class="toctree-l2"><a class="reference internal" href="array_api_extra.kron.html">array_api_extra.kron</a></li>
215+
<li class="toctree-l2"><a class="reference internal" href="array_api_extra.nan_to_num.html">array_api_extra.nan_to_num</a></li>
215216
<li class="toctree-l2"><a class="reference internal" href="array_api_extra.nunique.html">array_api_extra.nunique</a></li>
216217
<li class="toctree-l2"><a class="reference internal" href="array_api_extra.one_hot.html">array_api_extra.one_hot</a></li>
217218
<li class="toctree-l2"><a class="reference internal" href="array_api_extra.pad.html">array_api_extra.pad</a></li>

0 commit comments

Comments
 (0)