#include "compute/tanh/tanhop.h"
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) |
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.
T |
x | |
copy | if true, then a new tensor is returned else x is overwritten. |