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