Skip to content
Merged
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
5 changes: 4 additions & 1 deletion dpnp/dpnp_iface_counting.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,19 @@ def count_nonzero(a, axis=None, *, keepdims=False, out=None):
Axis or tuple of axes along which to count non-zeros.
Default value means that non-zeros will be counted along a flattened
version of `a`.

Default: ``None``.
keepdims : bool, optional
keepdims : {None, bool}, optional
If this is set to ``True``, the axes that are counted are left in the
result as dimensions with size one. With this option, the result will
broadcast correctly against the input array.

Default: ``False``.
out : {None, dpnp.ndarray, usm_ndarray}, optional
The array into which the result is written. The data type of `out` must
match the expected shape and the expected data type of the result.
If ``None`` then a new array is returned.

Default: ``None``.

Returns
Expand Down
Loading