MagmaDNN  1.0
c++NeuralNetworkFramework
product.h File Reference
#include "tensor/tensor.h"
Include dependency graph for product.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename T >
void magmadnn::math::product (Tensor< T > *A, Tensor< T > *B)
 
template<typename T >
void magmadnn::math::product (Tensor< T > *A, Tensor< T > *B, Tensor< T > *C)
 

Detailed Description

Author
Sedrick Keh
Version
0.1
Date
2019-07-02

Function Documentation

◆ product() [1/2]

template<typename T >
void magmadnn::math::product ( Tensor< T > *  A,
Tensor< T > *  B 
)

(In-place) Copies and returns the element-wise product of A and B into B.

Template Parameters
T
Parameters
A
Bshould have same shape as A

◆ product() [2/2]

template<typename T >
void magmadnn::math::product ( Tensor< T > *  A,
Tensor< T > *  B,
Tensor< T > *  C 
)

Copies and returns the element-wise product of A and B into C.

Template Parameters
T
Parameters
A
Bshould have same shape as A
Cshould have same shape as A and B