MagmaDNN  1.0
c++NeuralNetworkFramework
bias_add.h
Go to the documentation of this file.
1 
9 #pragma once
10 
11 #include "tensor/tensor.h"
12 #include "utilities_internal.h"
13 
14 namespace magmadnn {
15 namespace math {
16 
17 template <typename T>
18 void bias_add(Tensor<T> *x, Tensor<T> *bias, Tensor<T> *out);
19 
20 #if defined(_HAS_CUDA_)
21 template <typename T>
22 void bias_add_device(Tensor<T> *x, Tensor<T> *bias, Tensor<T> *out);
23 #endif
24 
25 }
26 }
Definition: addop.cpp:11