MagmaDNN  1.0
c++NeuralNetworkFramework
tanhop.cpp File Reference
Include dependency graph for tanhop.cpp:

Functions

template<typename T >
TanhOp< T > * magmadnn::op::tanh (Operation< T > *x, bool copy)
 
template TanhOp< int > * magmadnn::op::tanh (Operation< int > *x, bool copy)
 
template TanhOp< float > * magmadnn::op::tanh (Operation< float > *x, bool copy)
 
template TanhOp< double > * magmadnn::op::tanh (Operation< double > *x, bool copy)
 

Detailed Description

Author
Daniel Nichols
Version
1.0
Date
2019-02-23

Function Documentation

◆ tanh()

template<typename T >
TanhOp< T > * magmadnn::op::tanh ( Operation< T > *  x,
bool  copy = true 
)

Returns a new tanh operation, which is an element-wise tanh execution over x.

Template Parameters
T
Parameters
x
copyif true, then a new tensor is returned else x is overwritten.
Returns
TanhOp<T>*
Here is the caller graph for this function: