Skip to content

Commit 59f2bb4

Browse files
committed
Fix typo in description
1 parent ae0d097 commit 59f2bb4

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

dpnp/dpnp_array.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,7 @@ def asnumpy(self):
437437
438438
Returns
439439
-------
440+
numpy.ndarray
440441
An instance of :class:`numpy.ndarray` populated with the array content.
441442
442443
"""

dpnp/dpnp_iface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ def get_dpnp_descriptor(ext_obj,
214214
return False
215215

216216
# If input object is a scalar, it means it was allocated on host memory.
217-
# We need to copy it to device memory according compute follows data paradigm.
217+
# We need to copy it to device memory according to compute follows data paradigm.
218218
if isscalar(ext_obj):
219219
ext_obj = array(ext_obj, sycl_queue=alloc_queue)
220220

dpnp/dpnp_iface_mathematical.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1091,12 +1091,17 @@ def multiply(x1,
10911091
10921092
Limitations
10931093
-----------
1094-
Parameters ``x1`` and ``x2`` are supported as either :class:`dpnp.dpnp_array` or scalar.
1094+
Parameters ``x1`` and ``x2`` are supported as either :class:`dpnp.ndarray` or scalar.
10951095
Parameters ``out``, ``where``, ``dtype`` and ``subok`` are supported with their default values.
10961096
Keyword arguments ``kwargs`` are currently unsupported.
10971097
Otherwise the functions will be executed sequentially on CPU.
10981098
Input array data types are limited by supported DPNP :ref:`Data types`.
10991099
1100+
Returns
1101+
-------
1102+
y : dpnp.ndarray
1103+
The product of `x1` and `x2`, element-wise.
1104+
11001105
Examples
11011106
--------
11021107
>>> import dpnp as dp

0 commit comments

Comments
 (0)