code: def _make_sparse_empty(dtype, sparse_type):
      data = cupy.empty(1, dtype)
      a = cupy.empty(1, "i")
      b = cupy.empty(1, "i")
      if sparse_type == "csr":
          return sparse.csr_matrix((data, a, b), shape=(0, 0))
      elif sparse_type == "csc":
          return sparse.csc_matrix((data, a, b), shape=(0, 0))
      elif sparse_type == "coo":
          return sparse.coo_matrix((data, (a, b)), shape=(0, 0))
      else:
          raise TypeError(
              "NCCL is not supported for this type of sparse matrix"
          )
  
imports: import numpy
  import warnings
  import cupy
  from cupy.cuda import nccl
  from cupyx.distributed import _store
  from cupyx.distributed._comm import _Backend
  from cupyx.scipy import sparse
label_desc: Use image node_id 2 for calling a global function with example usage: _make_sparse_empty(dtype, sparse_type) and returns: sparse, sparse, sparse