MagmaDNN  1.0
c++NeuralNetworkFramework
dot.h
Go to the documentation of this file.
1 
9 #pragma once
10 #include "tensor/tensor.h"
11 #include "math/matmul.h"
13 
14 namespace magmadnn {
15 namespace math {
16 
17 template <typename T>
18 void dot(Tensor<T> *A, Tensor<T> *B, Tensor<T> *out);
19 
20 template <typename T>
21 void dot(T alpha, Tensor<T> *A, Tensor<T> *B, T beta, Tensor<T> *out);
22 
23 template <typename T>
24 void dot(T alpha, bool trans_A, Tensor<T> *A, bool trans_B, Tensor<T> *B, T beta, Tensor<T> *out);
25 
26 }
27 }
Definition: addop.cpp:11
Operation< T > * dot(Operation< T > *a, Operation< T > *b, bool copy, bool needs_grad)
Definition: dotop.cpp:15