mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
PReLU layer for multidimensional input
This commit is contained in:
@@ -242,9 +242,8 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: check whether this is correct in the case of ChannelsPReLU.
|
||||
if(activ)
|
||||
activ->forwardSlice(dptr, dptr, nw, 0, 0, 1);
|
||||
activ->forwardSlice(dptr, dptr, 1, 1, delta, delta + nw);
|
||||
|
||||
ofs += nw;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user