code: def test_sparse_npfloat32(self):
      input_vector = sparse.csr_matrix(
          np.asarray([[1, 0, 0, 0, 3], [0, 0, 4, 3, 0]])
      ).astype(np.float32)
      unit_vector = matutils.unitvec(input_vector)
      man_unit_vector = manual_unitvec(input_vector)
      self.assertTrue(
          np.allclose(unit_vector.data, man_unit_vector.data, atol=1e-3)
      )
      self.assertEqual(input_vector.dtype, unit_vector.dtype)
  
imports: import logging
  import unittest
  import numpy
  from numpy.testing import assert_array_equal
  from scipy import sparse
  from scipy.sparse import csc_matrix
  from scipy.special import psi
  import gensim.matutils
label_desc: Use image node_id 1 for calling the UnitvecTestCase obj's underlying member method code with example usage: obj.test_sparse_npfloat32() without return types