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

Tham notifications at github.com
Wed Aug 10 00:57:06 EDT 2016


> +  {
> +    /* Nothing to do. */
> +  }
> +
> +  template<size_t I = 0, typename DataType, typename... Tp>
> +  typename std::enable_if<I < sizeof...(Tp), void>::type
> +  ForwardTail(std::tuple<Tp...>& layers, DataType& output)
> +  {
> +    output = arma::join_slices(output, std::get<I>(layers).OutputParameter());
> +    ForwardTail<I + 1, DataType, Tp...>(layers, output);
> +  }
> +
> +  template<typename eT>
> +  void Backward(arma::Cube<eT>&, arma::Cube<eT>& error, arma::Cube<eT>& )
> +  {
> +    size_t slice_idx = 0;

To follow the the naming condition of mlpack, maybe we should change slide_idx to slideIDX or slideIndex

---
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#r74185529
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160809/9455f541/attachment.html>


More information about the mlpack-git mailing list