code: def csr_to_list(mat):
      return [
          mat.indices[tup[0] : tup[1]].tolist()
          for tup in list(zip(mat.indptr, mat.indptr[1:]))
      ]
  
file_path: small-text/small_text/utils/labels.py
imports: import numpy
  from scipy.sparse import csr_matrix
  from scipy.sparse import vstack
  from small_text.base import LABEL_UNLABELED
  from small_text.utils.annotations import deprecated
label_desc: Use image node_id 5 for calling a global function with example usage: csr_to_list(mat) and returns: unknown