[mlpack-git] [mlpack/mlpack] fixes: convolve with correct weight slice, pad input in forward pass (#737)
notifications at github.com
Sun Aug 14 07:14:28 EDT 2016
> @@ -125,8 +131,10 @@ class ConvLayer
> arma::Mat<eT> output;
> BackwardConvolutionRule::Convolution(gy.slice(inMap), rotatedFilter,
> - g.slice(outMap) += output;
> + g.slice(outMap) += output.submat(rotatedFilter.n_rows / 2,
I didn't put an if there because if we don't put a padding the submat would take the whole matrix. But putting if makes that point explicit. Thanks.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mlpack-git