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

Tham notifications at github.com
Wed Aug 10 03:34:17 EDT 2016


> +#include <mlpack/methods/ann/init_rules/random_init.hpp>
> +#include <mlpack/methods/ann/cnn.hpp>
> +
> +#include <boost/test/unit_test.hpp>
> +#include "test_tools.hpp"
> +
> +using namespace mlpack;
> +using namespace mlpack::ann;
> +using namespace mlpack::optimization;
> +
> +
> +BOOST_AUTO_TEST_SUITE(InceptionLayerTest);
> +
> +void Test(arma::mat m1, arma::mat m2)
> +{
> +  for (size_t i = 0; i < m1.n_cols; ++i)

you want to compare all of the elements of m1 and m2, or just compare the first column of m1 and m2?If it is the first case, I think it should be `m1.n_elem`

---
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#r74197814
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160810/909682fa/attachment.html>


More information about the mlpack-git mailing list