scipy.sparse.csr_matrix.

tanh#

csr_matrix.tanh()[source]#

Element-wise tanh.

See numpy.tanh for more information.