tanh of input More...

Functions

AFAPI array tanh (const array &in)
 C++ Interface for tanh. More...
 
AFAPI af_err af_tanh (af_array *out, const af_array in)
 C Interface for tanh. More...
 

Detailed Description

tanh of input

Note
This function supports real inputs only. Complex inputs are not yet supported.

Function Documentation

◆ af_tanh()

AFAPI af_err af_tanh ( af_array out,
const af_array  in 
)

C Interface for tanh.

Parameters
[out]outwill contain tanh of input
[in]inis input array
Returns
AF_SUCCESS if the execution completes properly

◆ tanh()

AFAPI array af::tanh ( const array in)

C++ Interface for tanh.

Parameters
[in]inis input array
Returns
tanh of input