Skip to content

Commit 8497870

Browse files
committed
Fix typo in description
1 parent ae0d097 commit 8497870

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
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
@@ -1089,9 +1089,14 @@ def multiply(x1,
10891089
10901090
For full documentation refer to :obj:`numpy.multiply`.
10911091
1092+
Returns
1093+
-------
1094+
y : dpnp.ndarray
1095+
The product of `x1` and `x2`, element-wise.
1096+
10921097
Limitations
10931098
-----------
1094-
Parameters ``x1`` and ``x2`` are supported as either :class:`dpnp.dpnp_array` or scalar.
1099+
Parameters ``x1`` and ``x2`` are supported as either :class:`dpnp.ndarray` or scalar.
10951100
Parameters ``out``, ``where``, ``dtype`` and ``subok`` are supported with their default values.
10961101
Keyword arguments ``kwargs`` are currently unsupported.
10971102
Otherwise the functions will be executed sequentially on CPU.

dpnp/dpnp_utils/dpnp_algo_utils.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ def unwrap_array(x1):
221221
def get_common_allocation_queue(objects):
222222
"""
223223
Given a list of objects returns the queue which can be used for a memory allocation
224-
to keep compute follows data paradigm, or returns `None` if the default queue can be used.
224+
to follow compute follows data paradigm, or returns `None` if the default queue can be used.
225225
An exception will be raised, if the paradigm is broked for the given list of objects.
226226
"""
227227
if not isinstance(objects, (list, tuple)):

0 commit comments

Comments
 (0)