[mlpack-git] [mlpack/mlpack] Inception layer (#757)
notifications at github.com
Sun Aug 14 08:38:06 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;
> +void Test(arma::mat m1, arma::mat m2)
> + for (size_t i = 0; i < m1.n_cols; ++i)
>I am comparing all columns of m1 with all columns of m2. Is this incorrect?
Nope, because m1(i) access single data of the arma::mat but not "a column of the mat".
If you want to make sure every columns have the same value, I think it is same as make sure all of the data as equal, change it to n_elem should do the tricks.
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