[mlpack-git] [mlpack/mlpack] Inception layer (#757)

Nilay Jain notifications at github.com
Wed Aug 17 03:52:51 EDT 2016


> +    // Forward pass for 3x3 pool path. 
> +    pool3.InputParameter() = input;
> +    pool3.Forward(input, pool3.OutputParameter());
> +    Pad(pool3.OutputParameter(), 1, 1, convPool.InputParameter());
> +    convPool.Forward(pool3.OutputParameter(), convPool.OutputParameter());
> +    biasPool.Forward(convPool.OutputParameter(), biasPool.OutputParameter());
> +    basePool.InputParameter() = biasPool.OutputParameter();
> +    basePool.Forward(convPool.OutputParameter(), basePool.OutputParameter());
> +
> +    // concatenate outputs of all the paths.
> +    output = arma::join_slices( 
> +              arma::join_slices(
> +                arma::join_slices( 
> +                  base1.OutputParameter(), base3.OutputParameter() ), 
> +                  base5.OutputParameter() ), basePool.OutputParameter());
> +

we have to set the weights of all the layers that constitute the inception layer in the constructor? Also inception layer in itself does not do any operation, so we need not define the overall weight dimension.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/757/files/06d923321f246f2c6ead9ad56e99309fe24a6f5c#r75077182
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160817/7e49813a/attachment.html>


More information about the mlpack-git mailing list