Skip to content

Commit cd7bfbb

Browse files
add support for axes as list in dpnp.ndarray.transpose 5f75188
1 parent 7284211 commit cd7bfbb

File tree

482 files changed

+1517
-1483
lines changed

Some content is hidden

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

482 files changed

+1517
-1483
lines changed

pull/1770/.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 hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: 8173e49297daf43b7025e3969dd74500
3+
config: b6612d3f0645a1067740bd76242f1ae8
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

pull/1770/_modules/dpnp/dpnp_array.html

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</script>
1313

1414
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
15-
<title>dpnp.dpnp_array &mdash; Data Parallel Extension for NumPy 0.15.0dev1+8.g7af33a5f61 documentation</title>
15+
<title>dpnp.dpnp_array &mdash; Data Parallel Extension for NumPy 0.15.0dev1+9.g5f7518807b documentation</title>
1616
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=fa44fd50" />
1717
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=19f00094" />
1818

@@ -23,7 +23,7 @@
2323

2424
<script src="../../_static/jquery.js?v=5d32c60e"></script>
2525
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
26-
<script src="../../_static/documentation_options.js?v=8b8fb069"></script>
26+
<script src="../../_static/documentation_options.js?v=987dead5"></script>
2727
<script src="../../_static/doctools.js?v=888ff710"></script>
2828
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
2929
<script src="../../_static/js/theme.js"></script>
@@ -43,7 +43,7 @@
4343
Data Parallel Extension for NumPy
4444
</a>
4545
<div class="version">
46-
0.15.0dev1+8.g7af33a5f61
46+
0.15.0dev1+9.g5f7518807b
4747
</div>
4848
<div role="search">
4949
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">
@@ -1552,21 +1552,31 @@ <h1>Source code for dpnp.dpnp_array</h1><div class="highlight"><pre>
15521552

15531553
<span class="sd"> For full documentation refer to :obj:`numpy.ndarray.transpose`.</span>
15541554

1555+
<span class="sd"> Parameters</span>
1556+
<span class="sd"> ----------</span>
1557+
<span class="sd"> axes : None, tuple or list of ints, n ints, optional</span>
1558+
<span class="sd"> * ``None`` or no argument: reverses the order of the axes.</span>
1559+
<span class="sd"> * tuple or list of ints: `i` in the `j`-th place in the tuple/list</span>
1560+
<span class="sd"> means that the array’s `i`-th axis becomes the transposed</span>
1561+
<span class="sd"> array’s `j`-th axis.</span>
1562+
<span class="sd"> * n ints: same as an n-tuple/n-list of the same ints (this form is</span>
1563+
<span class="sd"> intended simply as a “convenience” alternative to the tuple form).</span>
1564+
15551565
<span class="sd"> Returns</span>
15561566
<span class="sd"> -------</span>
1557-
<span class="sd"> y : dpnp.ndarray</span>
1567+
<span class="sd"> out : dpnp.ndarray</span>
15581568
<span class="sd"> View of the array with its axes suitably permuted.</span>
15591569

15601570
<span class="sd"> See Also</span>
15611571
<span class="sd"> --------</span>
1562-
<span class="sd"> :obj:`dpnp.transpose` : Equivalent function.</span>
1563-
<span class="sd"> :obj:`dpnp.ndarray.ndarray.T` : Array property returning the array transposed.</span>
1564-
<span class="sd"> :obj:`dpnp.ndarray.reshape` : Give a new shape to an array without changing its data.</span>
1572+
<span class="sd"> :obj:`dpnp.transpose` : Equivalent function.</span>
1573+
<span class="sd"> :obj:`dpnp.ndarray.ndarray.T` : Array property returning the array transposed.</span>
1574+
<span class="sd"> :obj:`dpnp.ndarray.reshape` : Give a new shape to an array without changing its data.</span>
15651575

15661576
<span class="sd"> Examples</span>
15671577
<span class="sd"> --------</span>
1568-
<span class="sd"> &gt;&gt;&gt; import dpnp as dp</span>
1569-
<span class="sd"> &gt;&gt;&gt; a = dp.array([[1, 2], [3, 4]])</span>
1578+
<span class="sd"> &gt;&gt;&gt; import dpnp as np</span>
1579+
<span class="sd"> &gt;&gt;&gt; a = np.array([[1, 2], [3, 4]])</span>
15701580
<span class="sd"> &gt;&gt;&gt; a</span>
15711581
<span class="sd"> array([[1, 2],</span>
15721582
<span class="sd"> [3, 4]])</span>
@@ -1577,7 +1587,7 @@ <h1>Source code for dpnp.dpnp_array</h1><div class="highlight"><pre>
15771587
<span class="sd"> array([[1, 3],</span>
15781588
<span class="sd"> [2, 4]])</span>
15791589

1580-
<span class="sd"> &gt;&gt;&gt; a = dp.array([1, 2, 3, 4])</span>
1590+
<span class="sd"> &gt;&gt;&gt; a = np.array([1, 2, 3, 4])</span>
15811591
<span class="sd"> &gt;&gt;&gt; a</span>
15821592
<span class="sd"> array([1, 2, 3, 4])</span>
15831593
<span class="sd"> &gt;&gt;&gt; a.transpose()</span>

pull/1770/_modules/dpnp/dpnp_flatiter.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</script>
1313

1414
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
15-
<title>dpnp.dpnp_flatiter &mdash; Data Parallel Extension for NumPy 0.15.0dev1+8.g7af33a5f61 documentation</title>
15+
<title>dpnp.dpnp_flatiter &mdash; Data Parallel Extension for NumPy 0.15.0dev1+9.g5f7518807b documentation</title>
1616
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=fa44fd50" />
1717
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=19f00094" />
1818

@@ -23,7 +23,7 @@
2323

2424
<script src="../../_static/jquery.js?v=5d32c60e"></script>
2525
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
26-
<script src="../../_static/documentation_options.js?v=8b8fb069"></script>
26+
<script src="../../_static/documentation_options.js?v=987dead5"></script>
2727
<script src="../../_static/doctools.js?v=888ff710"></script>
2828
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
2929
<script src="../../_static/js/theme.js"></script>
@@ -43,7 +43,7 @@
4343
Data Parallel Extension for NumPy
4444
</a>
4545
<div class="version">
46-
0.15.0dev1+8.g7af33a5f61
46+
0.15.0dev1+9.g5f7518807b
4747
</div>
4848
<div role="search">
4949
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">

pull/1770/_modules/dpnp/dpnp_iface.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</script>
1313

1414
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
15-
<title>dpnp.dpnp_iface &mdash; Data Parallel Extension for NumPy 0.15.0dev1+8.g7af33a5f61 documentation</title>
15+
<title>dpnp.dpnp_iface &mdash; Data Parallel Extension for NumPy 0.15.0dev1+9.g5f7518807b documentation</title>
1616
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=fa44fd50" />
1717
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=19f00094" />
1818

@@ -23,7 +23,7 @@
2323

2424
<script src="../../_static/jquery.js?v=5d32c60e"></script>
2525
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
26-
<script src="../../_static/documentation_options.js?v=8b8fb069"></script>
26+
<script src="../../_static/documentation_options.js?v=987dead5"></script>
2727
<script src="../../_static/doctools.js?v=888ff710"></script>
2828
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
2929
<script src="../../_static/js/theme.js"></script>
@@ -43,7 +43,7 @@
4343
Data Parallel Extension for NumPy
4444
</a>
4545
<div class="version">
46-
0.15.0dev1+8.g7af33a5f61
46+
0.15.0dev1+9.g5f7518807b
4747
</div>
4848
<div role="search">
4949
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">

pull/1770/_modules/dpnp/dpnp_iface_arraycreation.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</script>
1313

1414
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
15-
<title>dpnp.dpnp_iface_arraycreation &mdash; Data Parallel Extension for NumPy 0.15.0dev1+8.g7af33a5f61 documentation</title>
15+
<title>dpnp.dpnp_iface_arraycreation &mdash; Data Parallel Extension for NumPy 0.15.0dev1+9.g5f7518807b documentation</title>
1616
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=fa44fd50" />
1717
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=19f00094" />
1818

@@ -23,7 +23,7 @@
2323

2424
<script src="../../_static/jquery.js?v=5d32c60e"></script>
2525
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
26-
<script src="../../_static/documentation_options.js?v=8b8fb069"></script>
26+
<script src="../../_static/documentation_options.js?v=987dead5"></script>
2727
<script src="../../_static/doctools.js?v=888ff710"></script>
2828
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
2929
<script src="../../_static/js/theme.js"></script>
@@ -43,7 +43,7 @@
4343
Data Parallel Extension for NumPy
4444
</a>
4545
<div class="version">
46-
0.15.0dev1+8.g7af33a5f61
46+
0.15.0dev1+9.g5f7518807b
4747
</div>
4848
<div role="search">
4949
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">

pull/1770/_modules/dpnp/dpnp_iface_bitwise.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</script>
1313

1414
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
15-
<title>dpnp.dpnp_iface_bitwise &mdash; Data Parallel Extension for NumPy 0.15.0dev1+8.g7af33a5f61 documentation</title>
15+
<title>dpnp.dpnp_iface_bitwise &mdash; Data Parallel Extension for NumPy 0.15.0dev1+9.g5f7518807b documentation</title>
1616
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=fa44fd50" />
1717
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=19f00094" />
1818

@@ -23,7 +23,7 @@
2323

2424
<script src="../../_static/jquery.js?v=5d32c60e"></script>
2525
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
26-
<script src="../../_static/documentation_options.js?v=8b8fb069"></script>
26+
<script src="../../_static/documentation_options.js?v=987dead5"></script>
2727
<script src="../../_static/doctools.js?v=888ff710"></script>
2828
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
2929
<script src="../../_static/js/theme.js"></script>
@@ -43,7 +43,7 @@
4343
Data Parallel Extension for NumPy
4444
</a>
4545
<div class="version">
46-
0.15.0dev1+8.g7af33a5f61
46+
0.15.0dev1+9.g5f7518807b
4747
</div>
4848
<div role="search">
4949
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">

pull/1770/_modules/dpnp/dpnp_iface_counting.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</script>
1313

1414
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
15-
<title>dpnp.dpnp_iface_counting &mdash; Data Parallel Extension for NumPy 0.15.0dev1+8.g7af33a5f61 documentation</title>
15+
<title>dpnp.dpnp_iface_counting &mdash; Data Parallel Extension for NumPy 0.15.0dev1+9.g5f7518807b documentation</title>
1616
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=fa44fd50" />
1717
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=19f00094" />
1818

@@ -23,7 +23,7 @@
2323

2424
<script src="../../_static/jquery.js?v=5d32c60e"></script>
2525
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
26-
<script src="../../_static/documentation_options.js?v=8b8fb069"></script>
26+
<script src="../../_static/documentation_options.js?v=987dead5"></script>
2727
<script src="../../_static/doctools.js?v=888ff710"></script>
2828
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
2929
<script src="../../_static/js/theme.js"></script>
@@ -43,7 +43,7 @@
4343
Data Parallel Extension for NumPy
4444
</a>
4545
<div class="version">
46-
0.15.0dev1+8.g7af33a5f61
46+
0.15.0dev1+9.g5f7518807b
4747
</div>
4848
<div role="search">
4949
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">

pull/1770/_modules/dpnp/dpnp_iface_indexing.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</script>
1313

1414
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
15-
<title>dpnp.dpnp_iface_indexing &mdash; Data Parallel Extension for NumPy 0.15.0dev1+8.g7af33a5f61 documentation</title>
15+
<title>dpnp.dpnp_iface_indexing &mdash; Data Parallel Extension for NumPy 0.15.0dev1+9.g5f7518807b documentation</title>
1616
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=fa44fd50" />
1717
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=19f00094" />
1818

@@ -23,7 +23,7 @@
2323

2424
<script src="../../_static/jquery.js?v=5d32c60e"></script>
2525
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
26-
<script src="../../_static/documentation_options.js?v=8b8fb069"></script>
26+
<script src="../../_static/documentation_options.js?v=987dead5"></script>
2727
<script src="../../_static/doctools.js?v=888ff710"></script>
2828
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
2929
<script src="../../_static/js/theme.js"></script>
@@ -43,7 +43,7 @@
4343
Data Parallel Extension for NumPy
4444
</a>
4545
<div class="version">
46-
0.15.0dev1+8.g7af33a5f61
46+
0.15.0dev1+9.g5f7518807b
4747
</div>
4848
<div role="search">
4949
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">

pull/1770/_modules/dpnp/dpnp_iface_libmath.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</script>
1313

1414
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
15-
<title>dpnp.dpnp_iface_libmath &mdash; Data Parallel Extension for NumPy 0.15.0dev1+8.g7af33a5f61 documentation</title>
15+
<title>dpnp.dpnp_iface_libmath &mdash; Data Parallel Extension for NumPy 0.15.0dev1+9.g5f7518807b documentation</title>
1616
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=fa44fd50" />
1717
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=19f00094" />
1818

@@ -23,7 +23,7 @@
2323

2424
<script src="../../_static/jquery.js?v=5d32c60e"></script>
2525
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
26-
<script src="../../_static/documentation_options.js?v=8b8fb069"></script>
26+
<script src="../../_static/documentation_options.js?v=987dead5"></script>
2727
<script src="../../_static/doctools.js?v=888ff710"></script>
2828
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
2929
<script src="../../_static/js/theme.js"></script>
@@ -43,7 +43,7 @@
4343
Data Parallel Extension for NumPy
4444
</a>
4545
<div class="version">
46-
0.15.0dev1+8.g7af33a5f61
46+
0.15.0dev1+9.g5f7518807b
4747
</div>
4848
<div role="search">
4949
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">

pull/1770/_modules/dpnp/dpnp_iface_linearalgebra.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</script>
1313

1414
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
15-
<title>dpnp.dpnp_iface_linearalgebra &mdash; Data Parallel Extension for NumPy 0.15.0dev1+8.g7af33a5f61 documentation</title>
15+
<title>dpnp.dpnp_iface_linearalgebra &mdash; Data Parallel Extension for NumPy 0.15.0dev1+9.g5f7518807b documentation</title>
1616
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=fa44fd50" />
1717
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=19f00094" />
1818

@@ -23,7 +23,7 @@
2323

2424
<script src="../../_static/jquery.js?v=5d32c60e"></script>
2525
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
26-
<script src="../../_static/documentation_options.js?v=8b8fb069"></script>
26+
<script src="../../_static/documentation_options.js?v=987dead5"></script>
2727
<script src="../../_static/doctools.js?v=888ff710"></script>
2828
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
2929
<script src="../../_static/js/theme.js"></script>
@@ -43,7 +43,7 @@
4343
Data Parallel Extension for NumPy
4444
</a>
4545
<div class="version">
46-
0.15.0dev1+8.g7af33a5f61
46+
0.15.0dev1+9.g5f7518807b
4747
</div>
4848
<div role="search">
4949
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">

pull/1770/_modules/dpnp/dpnp_iface_logic.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</script>
1313

1414
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
15-
<title>dpnp.dpnp_iface_logic &mdash; Data Parallel Extension for NumPy 0.15.0dev1+8.g7af33a5f61 documentation</title>
15+
<title>dpnp.dpnp_iface_logic &mdash; Data Parallel Extension for NumPy 0.15.0dev1+9.g5f7518807b documentation</title>
1616
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=fa44fd50" />
1717
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=19f00094" />
1818

@@ -23,7 +23,7 @@
2323

2424
<script src="../../_static/jquery.js?v=5d32c60e"></script>
2525
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
26-
<script src="../../_static/documentation_options.js?v=8b8fb069"></script>
26+
<script src="../../_static/documentation_options.js?v=987dead5"></script>
2727
<script src="../../_static/doctools.js?v=888ff710"></script>
2828
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
2929
<script src="../../_static/js/theme.js"></script>
@@ -43,7 +43,7 @@
4343
Data Parallel Extension for NumPy
4444
</a>
4545
<div class="version">
46-
0.15.0dev1+8.g7af33a5f61
46+
0.15.0dev1+9.g5f7518807b
4747
</div>
4848
<div role="search">
4949
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">

0 commit comments

Comments
 (0)