Skip to content

Commit

Permalink
fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderKalistratov committed Nov 18, 2024
1 parent 10beeea commit fa3162b
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions dpnp/dpnp_iface_statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -522,9 +522,9 @@ def correlate(a, v, mode="valid"):
a, v : {dpnp.ndarray, usm_ndarray}
Input sequences.
mode : {'valid', 'same', 'full'}, optional
Refer to the `convolve` docstring. Note that the default
is ``'valid'``, unlike `convolve`, which uses ``'full'``.
Default: ``'valid'``.
Refer to the :obj:`dpnp.convolve` docstring. Note that the default
is ``'valid'``, unlike :obj:`dpnp.convolve`, which uses ``'full'``.
| Default: ``'valid'``.
Returns
-------
Expand All @@ -533,9 +533,7 @@ def correlate(a, v, mode="valid"):
See Also
--------
convolve : Discrete, linear convolution of two one-dimensional sequences.
scipy.signal.correlate : uses FFT which has superior performance
on large arrays.
:obj:`dpnp.convolve` : Discrete, linear convolution of two one-dimensional sequences.
Examples
Expand Down

0 comments on commit fa3162b

Please sign in to comment.