[mlpack-git] [mlpack/mlpack] backported ind2sub and sub2ind. (#683)

stereomatchingkiss notifications at github.com
Thu Jun 9 11:08:11 EDT 2016


> +#include "feature_extraction.hpp"
> +#include <map>
> +
> +namespace mlpack {
> +namespace structured_tree {
> +
> +template<typename MatType, typename CubeType>
> +StructuredForests<MatType, CubeType>::
> +StructuredForests(const std::map<std::string, int>& inMap)
> +{
> +  this->options = inMap;
> +}
> +
> +template<typename MatType, typename CubeType>
> +MatType StructuredForests<MatType, CubeType>::
> +LoadData(MatType& images, MatType& boundaries, MatType& segmentations)

Looks like the parameters are good candidates of const.

---
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/683/files/9d85b64c6c6bdff608331195351d09abf56cfc96#r66459292
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160609/4907c878/attachment.html>


More information about the mlpack-git mailing list