code: def block(arrs: List[List[SparseArray]]) -> SparseArray:
      mats = []
      for dim_arrs in arrs:
          mats.append([naked(a) for a in dim_arrs])
      return SparseNDArray(sps.bmat(mats, format="csr"))
  
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 9 for calling a global function with example usage: block(arrs) and returns: SparseNDArray