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