Skip to content

Commit c9bebc0

Browse files
Add integer dtypes (int8, int16, uint8-uint64) to dpnp interface 1630223
1 parent 313fb39 commit c9bebc0

File tree

704 files changed

+3151
-2483
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

704 files changed

+3151
-2483
lines changed

pull/2230/.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file records the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: 3b6cd80bf9b4d9f298d82b7719b841bf
3+
config: 3106f9fe37d1a344590fb0978dc3aafb
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

pull/2230/_modules/dpnp/dpnp_array.html

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
</script>
1515

1616
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
17-
<title>dpnp.dpnp_array &mdash; Data Parallel Extension for NumPy 0.17.0dev6+22.g86d4b41703f documentation</title>
17+
<title>dpnp.dpnp_array &mdash; Data Parallel Extension for NumPy 0.17.0dev6+28.g1630223dfb4 documentation</title>
1818
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=03e43079" />
1919
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=e59714d7" />
2020

2121

2222
<script src="../../_static/jquery.js?v=5d32c60e"></script>
2323
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
24-
<script src="../../_static/documentation_options.js?v=57d8f008"></script>
24+
<script src="../../_static/documentation_options.js?v=4159c3e8"></script>
2525
<script src="../../_static/doctools.js?v=9bcbadda"></script>
2626
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
2727
<script src="../../_static/js/theme.js"></script>
@@ -867,12 +867,14 @@ <h1>Source code for dpnp.dpnp_array</h1><div class="highlight"><pre>
867867
<a class="viewcode-back" href="../../reference/generated/dpnp.dpnp_array.dpnp_array.asnumpy.html#dpnp.dpnp_array.dpnp_array.asnumpy">[docs]</a>
868868
<span class="k">def</span><span class="w"> </span><span class="nf">asnumpy</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
869869
<span class="w"> </span><span class="sd">&quot;&quot;&quot;</span>
870-
<span class="sd"> Copy content of the array into :class:`numpy.ndarray` instance of the same shape and data type.</span>
870+
<span class="sd"> Copy content of the array into :class:`numpy.ndarray` instance of</span>
871+
<span class="sd"> the same shape and data type.</span>
871872

872873
<span class="sd"> Returns</span>
873874
<span class="sd"> -------</span>
874-
<span class="sd"> numpy.ndarray</span>
875-
<span class="sd"> An instance of :class:`numpy.ndarray` populated with the array content.</span>
875+
<span class="sd"> out : numpy.ndarray</span>
876+
<span class="sd"> An instance of :class:`numpy.ndarray` populated with the array</span>
877+
<span class="sd"> content.</span>
876878

877879
<span class="sd"> &quot;&quot;&quot;</span>
878880

@@ -899,7 +901,7 @@ <h1>Source code for dpnp.dpnp_array</h1><div class="highlight"><pre>
899901
<span class="sd"> ----------</span>
900902
<span class="sd"> x1 : {dpnp.ndarray, usm_ndarray}</span>
901903
<span class="sd"> Array data type casting.</span>
902-
<span class="sd"> dtype : dtype</span>
904+
<span class="sd"> dtype : {None, str, dtype object}</span>
903905
<span class="sd"> Target data type.</span>
904906
<span class="sd"> order : {&quot;C&quot;, &quot;F&quot;, &quot;A&quot;, &quot;K&quot;}, optional</span>
905907
<span class="sd"> Row-major (C-style) or column-major (Fortran-style) order.</span>
@@ -2065,7 +2067,6 @@ <h1>Source code for dpnp.dpnp_array</h1><div class="highlight"><pre>
20652067
<span class="c1"># &#39;tobytes&#39;,</span>
20662068
<span class="c1"># &#39;tofile&#39;,</span>
20672069
<span class="c1"># &#39;tolist&#39;,</span>
2068-
<span class="c1"># &#39;tostring&#39;,</span>
20692070

20702071
<div class="viewcode-block" id="dpnp_array.trace">
20712072
<a class="viewcode-back" href="../../reference/generated/dpnp.dpnp_array.dpnp_array.trace.html#dpnp.dpnp_array.dpnp_array.trace">[docs]</a>

pull/2230/_modules/dpnp/dpnp_array_api_info.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
</script>
1515

1616
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
17-
<title>dpnp.dpnp_array_api_info &mdash; Data Parallel Extension for NumPy 0.17.0dev6+22.g86d4b41703f documentation</title>
17+
<title>dpnp.dpnp_array_api_info &mdash; Data Parallel Extension for NumPy 0.17.0dev6+28.g1630223dfb4 documentation</title>
1818
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=03e43079" />
1919
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=e59714d7" />
2020

2121

2222
<script src="../../_static/jquery.js?v=5d32c60e"></script>
2323
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
24-
<script src="../../_static/documentation_options.js?v=57d8f008"></script>
24+
<script src="../../_static/documentation_options.js?v=4159c3e8"></script>
2525
<script src="../../_static/doctools.js?v=9bcbadda"></script>
2626
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
2727
<script src="../../_static/js/theme.js"></script>

pull/2230/_modules/dpnp/dpnp_flatiter.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
</script>
1515

1616
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
17-
<title>dpnp.dpnp_flatiter &mdash; Data Parallel Extension for NumPy 0.17.0dev6+22.g86d4b41703f documentation</title>
17+
<title>dpnp.dpnp_flatiter &mdash; Data Parallel Extension for NumPy 0.17.0dev6+28.g1630223dfb4 documentation</title>
1818
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=03e43079" />
1919
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=e59714d7" />
2020

2121

2222
<script src="../../_static/jquery.js?v=5d32c60e"></script>
2323
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
24-
<script src="../../_static/documentation_options.js?v=57d8f008"></script>
24+
<script src="../../_static/documentation_options.js?v=4159c3e8"></script>
2525
<script src="../../_static/doctools.js?v=9bcbadda"></script>
2626
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
2727
<script src="../../_static/js/theme.js"></script>

pull/2230/_modules/dpnp/dpnp_iface.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
</script>
1515

1616
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
17-
<title>dpnp.dpnp_iface &mdash; Data Parallel Extension for NumPy 0.17.0dev6+22.g86d4b41703f documentation</title>
17+
<title>dpnp.dpnp_iface &mdash; Data Parallel Extension for NumPy 0.17.0dev6+28.g1630223dfb4 documentation</title>
1818
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=03e43079" />
1919
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=e59714d7" />
2020

2121

2222
<script src="../../_static/jquery.js?v=5d32c60e"></script>
2323
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
24-
<script src="../../_static/documentation_options.js?v=57d8f008"></script>
24+
<script src="../../_static/documentation_options.js?v=4159c3e8"></script>
2525
<script src="../../_static/doctools.js?v=9bcbadda"></script>
2626
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
2727
<script src="../../_static/js/theme.js"></script>
@@ -307,7 +307,7 @@ <h1>Source code for dpnp.dpnp_iface</h1><div class="highlight"><pre>
307307
<span class="sd"> ----------</span>
308308
<span class="sd"> x1 : {dpnp.ndarray, usm_ndarray}</span>
309309
<span class="sd"> Array data type casting.</span>
310-
<span class="sd"> dtype : dtype</span>
310+
<span class="sd"> dtype : {None, str, dtype object}</span>
311311
<span class="sd"> Target data type.</span>
312312
<span class="sd"> order : {&#39;C&#39;, &#39;F&#39;, &#39;A&#39;, &#39;K&#39;}</span>
313313
<span class="sd"> Row-major (C-style) or column-major (Fortran-style) order.</span>
@@ -372,7 +372,7 @@ <h1>Source code for dpnp.dpnp_iface</h1><div class="highlight"><pre>
372372
<span class="sd"> ----------</span>
373373
<span class="sd"> a : {array_like, scalar}</span>
374374
<span class="sd"> Input array or scalar.</span>
375-
<span class="sd"> dtype : {None, dtype}, optional</span>
375+
<span class="sd"> dtype : {None, str, dtype object}, optional</span>
376376
<span class="sd"> The desired dtype for the result array if new array is creating. If not</span>
377377
<span class="sd"> given, a default dtype will be used that can represent the values (by</span>
378378
<span class="sd"> considering Promotion Type Rule and device capabilities when necessary).</span>

0 commit comments

Comments
 (0)