Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion dpnp/dpnp_algo/dpnp_arraycreation.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,9 @@ class dpnp_nd_grid:
Parameters
----------
sparse : {bool}, optional
Whether the grid is sparse or not. Default is False.
Whether the grid is sparse or not.

Default: ``False``.

"""

Expand Down
14 changes: 11 additions & 3 deletions dpnp/dpnp_algo/dpnp_elementwise_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ class DPNPUnaryFunc(UnaryElementwiseFunc):
requires casting, e.g. the argument of `dpnp.tensor.log` is an
array with integral data type.

Default: ``None``.

"""

def __init__(
Expand Down Expand Up @@ -759,12 +761,18 @@ def outer(
out : {None, dpnp.ndarray, usm_ndarray}, optional
Output array to populate.
Array must have the correct shape and the expected data type.

Default: ``None``.
order : {None, "C", "F", "A", "K"}, optional
Memory layout of the newly output array, Cannot be provided
together with `out`. Default: ``"K"``.
Memory layout of the newly output array. Cannot be provided
together with `out`.

Default: ``"K"``.
dtype : {None, str, dtype object}, optional
If provided, the destination array will have this dtype. Cannot be
provided together with `out`. Default: ``None``.
provided together with `out`.

Default: ``None``.

Returns
-------
Expand Down
2 changes: 1 addition & 1 deletion dpnp/dpnp_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -2206,7 +2206,7 @@ def to_device(self, device, /, *, stream=None):

Parameters
----------
device : {None, string, SyclDevice, SyclQueue, Device}, optional
device : {None, string, SyclDevice, SyclQueue, Device}
An array API concept of device where the output array is created.
`device` can be ``None``, a oneAPI filter selector string,
an instance of :class:`dpctl.SyclDevice` corresponding to
Expand Down
4 changes: 3 additions & 1 deletion dpnp/dpnp_iface.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,8 @@ def get_normalized_queue_device(obj=None, device=None, sycl_queue=None):
and implementing `__sycl_usm_array_interface__` protocol, an instance
of `numpy.ndarray`, an object supporting Python buffer protocol,
a Python scalar, or a (possibly nested) sequence of Python scalars.

Default: ``None``.
sycl_queue : {None, class:`dpctl.SyclQueue`}, optional
A queue which explicitly indicates where USM allocation is done
and the population code (if any) is executed.
Expand Down Expand Up @@ -500,7 +502,7 @@ def get_result_array(a, out=None, casting="safe"):
----------
a : {dpnp.ndarray, usm_ndarray}
Input array.
out : {None, dpnp.ndarray, usm_ndarray}
out : {None, dpnp.ndarray, usm_ndarray}, optional
If provided, value of `a` array will be copied into it
according to ``safe`` casting rule.
It should be of the appropriate shape.
Expand Down
Loading
Loading