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 6fd3b71 commit 7072535Copy full SHA for 7072535
paddle/phi/kernels/funcs/elementwise_functor.h
@@ -1378,7 +1378,7 @@ struct CopySignGradXYFunctor {
1378
if (x == static_cast<InT>(0))
1379
outs[0] = static_cast<OutT>(0);
1380
else
1381
- outs[0] = static_cast<OutT>(dout * (funcs::copysign_func(x, y)) / x);
+ outs[0] = static_cast<OutT>(dout * (funcs::copysign_func(x, y) / x));
1382
// dy = 0
1383
outs[1] = static_cast<OutT>(0);
1384
return outs;
0 commit comments