Skip to content

Commit

Permalink
Add new tests for dpnp.einsum and adopt it with NumPy-2.0.0 (#2012)
Browse files Browse the repository at this point in the history
* update docstring

* add new tests

* update tests

* address comment

* align the code with NumPy 1.26

* use formatted string for Error msg 75bb4e7
  • Loading branch information
github-actions[bot] committed Aug 27, 2024
1 parent 33bb6b0 commit 8d94032
Show file tree
Hide file tree
Showing 509 changed files with 1,682 additions and 1,627 deletions.
2 changes: 1 addition & 1 deletion .buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 1e3a7b5431ea8fe09736cba01a853448
config: a4385a77d93df48140cd6da874ab0de5
tags: 645f666f9bcd5a90fca523b33c5a78b7
12 changes: 6 additions & 6 deletions _modules/dpnp/dpnp_array.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</script>

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>dpnp.dpnp_array &mdash; Data Parallel Extension for NumPy 0.16.0dev0+162.g6f3d5f543a4 documentation</title>
<title>dpnp.dpnp_array &mdash; Data Parallel Extension for NumPy 0.16.0dev0+163.g75bb4e78273 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=19f00094" />

Expand All @@ -23,7 +23,7 @@

<script src="../../_static/jquery.js?v=5d32c60e"></script>
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="../../_static/documentation_options.js?v=ceb1d658"></script>
<script src="../../_static/documentation_options.js?v=c1fca69c"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/js/theme.js"></script>
Expand All @@ -43,7 +43,7 @@
Data Parallel Extension for NumPy
</a>
<div class="version">
0.16.0dev0+162.g6f3d5f543a4
0.16.0dev0+163.g75bb4e78273
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">
Expand Down Expand Up @@ -1108,14 +1108,14 @@ <h1>Source code for dpnp.dpnp_array</h1><div class="highlight"><pre>
<span class="sd"> Read the elements using this index order, and place the elements</span>
<span class="sd"> into the reshaped array using this index order.</span>

<span class="sd"> - &quot;C&quot; means to read / write the elements using C-like index</span>
<span class="sd"> - ``&quot;C&quot;`` means to read / write the elements using C-like index</span>
<span class="sd"> order, with the last axis index changing fastest, back to the</span>
<span class="sd"> first axis index changing slowest.</span>
<span class="sd"> - &quot;F&quot; means to read / write the elements using Fortran-like</span>
<span class="sd"> - ``&quot;F&quot;`` means to read / write the elements using Fortran-like</span>
<span class="sd"> index order, with the first index changing fastest, and the</span>
<span class="sd"> last index changing slowest.</span>

<span class="sd"> The default is ``&quot;C&quot;``.</span>
<span class="sd"> Default: ``&quot;C&quot;``.</span>

<span class="sd"> Returns</span>
<span class="sd"> -------</span>
Expand Down
6 changes: 3 additions & 3 deletions _modules/dpnp/dpnp_flatiter.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</script>

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>dpnp.dpnp_flatiter &mdash; Data Parallel Extension for NumPy 0.16.0dev0+162.g6f3d5f543a4 documentation</title>
<title>dpnp.dpnp_flatiter &mdash; Data Parallel Extension for NumPy 0.16.0dev0+163.g75bb4e78273 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=19f00094" />

Expand All @@ -23,7 +23,7 @@

<script src="../../_static/jquery.js?v=5d32c60e"></script>
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="../../_static/documentation_options.js?v=ceb1d658"></script>
<script src="../../_static/documentation_options.js?v=c1fca69c"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/js/theme.js"></script>
Expand All @@ -43,7 +43,7 @@
Data Parallel Extension for NumPy
</a>
<div class="version">
0.16.0dev0+162.g6f3d5f543a4
0.16.0dev0+163.g75bb4e78273
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">
Expand Down
6 changes: 3 additions & 3 deletions _modules/dpnp/dpnp_iface.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</script>

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>dpnp.dpnp_iface &mdash; Data Parallel Extension for NumPy 0.16.0dev0+162.g6f3d5f543a4 documentation</title>
<title>dpnp.dpnp_iface &mdash; Data Parallel Extension for NumPy 0.16.0dev0+163.g75bb4e78273 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=19f00094" />

Expand All @@ -23,7 +23,7 @@

<script src="../../_static/jquery.js?v=5d32c60e"></script>
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="../../_static/documentation_options.js?v=ceb1d658"></script>
<script src="../../_static/documentation_options.js?v=c1fca69c"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/js/theme.js"></script>
Expand All @@ -43,7 +43,7 @@
Data Parallel Extension for NumPy
</a>
<div class="version">
0.16.0dev0+162.g6f3d5f543a4
0.16.0dev0+163.g75bb4e78273
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">
Expand Down
Loading

0 comments on commit 8d94032

Please sign in to comment.