tanh#
- class brainpy.math.tanh(x, /)#
Similar to
jax.numpy.tanhfunction, while it is compatible with brainpy Array/Variable.Note that this function is also compatible with:
NumPy or PyTorch syntax when receiving
outargument.PyTorch syntax when receiving
keepdimordimargument.TensorFlow syntax when receiving
keep_dimsargument.
- Return type:
Array