MagmaDNN  1.0
c++NeuralNetworkFramework
tanhop.h File Reference
#include <string>
#include "compute/operation.h"
#include "tanh_internal.h"
Include dependency graph for tanhop.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  magmadnn::op::TanhOp< T >
 

Functions

template<typename T >
TanhOp< T > * magmadnn::op::tanh (Operation< T > *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: