We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e917db4 commit 7119aecCopy full SHA for 7119aec
dpnp/dpnp_algo/dpnp_elementwise_common.py
@@ -27,6 +27,7 @@
27
# *****************************************************************************
28
29
import warnings
30
+from functools import wraps
31
32
import dpctl.tensor as dpt
33
import dpctl.tensor._copy_utils as dtc
@@ -731,6 +732,7 @@ def outer(
731
732
class DPNPBinaryFuncOutKw(DPNPBinaryFunc):
733
"""DPNPBinaryFunc that deprecates positional `out` argument."""
734
735
+ @wraps(DPNPBinaryFunc.__call__)
736
def __call__(self, *args, **kwargs):
737
if len(args) > self.nin:
738
warnings.warn(
0 commit comments