Update nnet_impl-inl.hpp