code: def _to_csr(data):
      np_data = np.asarray(data, dtype=np.float32)
      data_reshaped = np_data.reshape((-1, np_data.shape[-1]))
      return sp.sparse.csr_matrix(data_reshaped, dtype=np.float32)
  
file_path: CNTK/bindings/python/cntk/tests/test_utils.py
imports: import numpy
  import scipy
  import pytest
  import cntk
label_desc: Use image node_id 3 for calling a global function with example usage: _to_csr(data) and returns: sp