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

Tham notifications at github.com
Wed Aug 10 03:31:57 EDT 2016


> +#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)
> +    BOOST_REQUIRE_CLOSE(m1(i), m2(i), 1e-2);  
> +}
> +
> +void Test(arma::cube m1, arma::cube m2)

const& should be able to speed things up

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


More information about the mlpack-git mailing list