1
0
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:
Vadim Pisarevsky
2017-06-28 08:48:27 +00:00
3 changed files with 28 additions and 21 deletions
@@ -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
{