From fa3162b3a595716dc4af09af08ab213e77076d3b Mon Sep 17 00:00:00 2001 From: Alexander Kalistratov Date: Mon, 18 Nov 2024 17:15:31 +0100 Subject: [PATCH] fix docstring --- dpnp/dpnp_iface_statistics.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/dpnp/dpnp_iface_statistics.py b/dpnp/dpnp_iface_statistics.py index f9041683ca0..866abab7bda 100644 --- a/dpnp/dpnp_iface_statistics.py +++ b/dpnp/dpnp_iface_statistics.py @@ -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 ------- @@ -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