rt_normal_activation.template.h 381 B

1234567891011121314
  1. #ifndef AFUN_RT_NORMAL_ACTIVATION_TEMPLATE_H
  2. #define AFUN_RT_NORMAL_ACTIVATION_TEMPLATE_H
  3. #include "rt_normal_activation.h"
  4. namespace aFunrt {
  5. template <typename Callable, typename...T>
  6. void NormalActivation::VarList::forEach(Callable func, T...arg) {
  7. for (auto &vs : varspace)
  8. func(vs, arg...);
  9. }
  10. }
  11. #endif //AFUN_RT_NORMAL_ACTIVATION_TEMPLATE_H