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 5287ab0 commit 0218c36Copy full SHA for 0218c36
pytensor/tensor/inplace.py
@@ -104,7 +104,7 @@ def log10_inplace(a):
104
105
106
@scalar_elemwise
107
-def sgn_inplace(a):
+def sign_inplace(a):
108
"""sign of `a` (inplace on `a`)"""
109
110
tests/tensor/test_inplace.py
@@ -38,7 +38,7 @@
38
reciprocal_inplace,
39
round_half_away_from_zero_inplace,
40
round_half_to_even_inplace,
41
- sgn_inplace,
+ sign_inplace,
42
sin_inplace,
43
sinh_inplace,
44
sqr_inplace,
@@ -177,7 +177,7 @@
177
)
178
179
TestSgnInplaceBroadcast = makeBroadcastTester(
180
- op=sgn_inplace,
+ op=sign_inplace,
181
expected=np.sign,
182
good=_good_broadcast_unary_normal_no_complex,
183
inplace=True,
0 commit comments