code: def zeros_sparse_matrix(shape, dtype=float, gpu=False):
      m = sps if not gpu else cps
      return SparseMatrix(m.csr_matrix(shape, dtype=np.dtype(dtype)))
  
imports: import numpy
  from collections.abc import Iterable
  from typing import List
  from .core import issparse, get_array_module, cp, cps, get_sparse_module, naked, sps, splinalg
  from .array import SparseNDArray, SparseArray
label_desc: Use image node_id 1 for calling a global function with example usage: zeros_sparse_matrix(shape, dtype, gpu) and returns: SparseMatrix