scipy.sparse.csr_matrix.
csr_matrix.tanh()[source]#
Element-wise tanh.
See numpy.tanh for more information.