[mlpack-git] [mlpack/mlpack] Replaced SortStruct by std::pair (#721)

lozhnikov notifications at github.com
Tue Jul 12 08:58:27 EDT 2016


> @@ -58,7 +58,7 @@ class OneHotLayer
>      output = inputActivations;
>      output.zeros();
>  
> -    arma::uword maxIndex;
> +    arma::uword maxIndex = 0;

I looked through the armadillo code, `op_min::direct_min` equates `index_of_min_val` to zero by default.

---
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/721/files/640f3a7859ea8d400bc6fed6b4395c2291ba0259..ee2a8a1461a33edd830747dccde117ac2cfb12b7#r70432151
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160712/594f1dbd/attachment.html>


More information about the mlpack-git mailing list