scipy.sparse.csr_array.

tanh

csr_array.tanh()[source]

Element-wise tanh.

See numpy.tanh for more information.