code: def test_sparse_shape():
      @numba.njit
      def test_fn(x):
          return np.shape(x)
  
      x_val = sp.sparse.csr_matrix(np.eye(100))
  
      res = test_fn(x_val)
  
      assert res == (100, 100)
  
file_path: pytensor/tests/link/numba/test_sparse.py
imports: import numpy
  import pytest
  import scipy
  import pytensor.link.numba.dispatch.sparse
  from pytensor import config
  from pytensor.sparse import Dot, SparseTensorType
  from tests.link.numba.test_basic import compare_numba_and_py
label_desc: Use image node_id 3 for calling a global function with example usage: test_sparse_shape() and returns: np