17 #if __cplusplus < 201703L && !defined(_MSC_VER) 19 #include <type_traits> 34 template <
class... Args>
38 return !
fFun(std::forward<Args>(args)...);
40 template <
class... Args>
44 return !
fFun(std::forward<Args>(args)...);
auto operator()(Args &&... args) &-> decltype(!std::declval< typename std::result_of< typename std::decay< F >::type(Args...)>::type >())
Detail::not_fn_t< F > not_fn(F &&f)
std::decay< F >::type fFun
void forward(const LAYERDATA &prevLayerData, LAYERDATA &currLayerData)
apply the weights (and functions) in forward direction of the DNN
auto operator()(Args &&... args) const &-> decltype(!std::declval< typename std::result_of< typename std::decay< F >::type const(Args...)>::type >())