MagmaDNN  1.0
c++NeuralNetworkFramework
tanh_internal.h
Go to the documentation of this file.
1 
9 #pragma once
10 #include <math.h>
11 #include "tensor/tensor.h"
12 
13 
14 namespace magmadnn {
15 namespace internal {
16 
21 template <typename T>
22 void tanh_full(Tensor<T> *x, Tensor<T> *out);
23 
24 #if defined(_HAS_CUDA_)
25 
29 template <typename T>
30 void tanh_full_device(Tensor<T> *x, Tensor<T> *out);
31 #endif
32 
33 } // namespace internal
34 } // namespace magmadnn
Definition: addop.cpp:11