mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 23:33:05 +04:00
Merge pull request #9003 from dkurt:halide_bug_fixes
This commit is contained in:
@@ -234,7 +234,7 @@ struct ReLUFunctor
|
||||
Halide::Var x("x"), y("y"), c("c"), n("n");
|
||||
if (slope)
|
||||
{
|
||||
top(x, y, c, n) = select(input >= 0.0f, input, slope);
|
||||
top(x, y, c, n) = select(input >= 0.0f, input, slope * input);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user