code: def test_eye_execution(setup):
      t = eye(5, chunk_size=2)
  
      res = t.execute().fetch()
      expected = np.eye(5)
      np.testing.assert_equal(res, expected)
  
      t = eye(5, k=1, chunk_size=2)
  
      res = t.execute().fetch()
      expected = np.eye(5, k=1)
      np.testing.assert_equal(res, expected)
  
      t = eye(5, k=2, chunk_size=2)
  
      res = t.execute().fetch()
      expected = np.eye(5, k=2)
      np.testing.assert_equal(res, expected)
  
      t = eye(5, k=-1, chunk_size=2)
  
      res = t.execute().fetch()
      expected = np.eye(5, k=-1)
      np.testing.assert_equal(res, expected)
  
      t = eye(5, k=-3, chunk_size=2)
  
      res = t.execute().fetch()
      expected = np.eye(5, k=-3)
      np.testing.assert_equal(res, expected)
  
      t = eye(5, M=3, k=1, chunk_size=2)
  
      res = t.execute().fetch()
      expected = np.eye(5, M=3, k=1)
      np.testing.assert_equal(res, expected)
  
      t = eye(5, M=3, k=-3, chunk_size=2)
  
      res = t.execute().fetch()
      expected = np.eye(5, M=3, k=-3)
      np.testing.assert_equal(res, expected)
  
      t = eye(5, M=7, k=1, chunk_size=2)
  
      res = t.execute().fetch()
      expected = np.eye(5, M=7, k=1)
      np.testing.assert_equal(res, expected)
  
      t = eye(5, M=8, k=-3, chunk_size=2)
  
      res = t.execute().fetch()
      expected = np.eye(5, M=8, k=-3)
      np.testing.assert_equal(res, expected)
  
      t = eye(2, dtype=int)
  
      res = t.execute().fetch()
      assert res.dtype == np.int_
  
      # test sparse
      t = eye(5, sparse=True, chunk_size=2)
  
      res = t.execute().fetch()
      expected = np.eye(5)
      assert isinstance(res, SparseNDArray)
      np.testing.assert_equal(res.toarray(), expected)
  
      t = eye(5, k=1, sparse=True, chunk_size=2)
  
      res = t.execute().fetch()
      expected = np.eye(5, k=1)
      assert isinstance(res, SparseNDArray)
      np.testing.assert_equal(res.toarray(), expected)
  
      t = eye(5, k=2, sparse=True, chunk_size=2)
  
      res = t.execute().fetch()
      expected = np.eye(5, k=2)
      assert isinstance(res, SparseNDArray)
      np.testing.assert_equal(res.toarray(), expected)
  
      t = eye(5, k=-1, sparse=True, chunk_size=2)
  
      res = t.execute().fetch()
      expected = np.eye(5, k=-1)
      assert isinstance(res, SparseNDArray)
      np.testing.assert_equal(res.toarray(), expected)
  
      t = eye(5, k=-3, sparse=True, chunk_size=2)
  
      res = t.execute().fetch()
      expected = np.eye(5, k=-3)
      assert isinstance(res, SparseNDArray)
      np.testing.assert_equal(res.toarray(), expected)
  
      t = eye(5, M=3, k=1, sparse=True, chunk_size=2)
  
      res = t.execute().fetch()
      expected = np.eye(5, M=3, k=1)
      assert isinstance(res, SparseNDArray)
      np.testing.assert_equal(res.toarray(), expected)
  
      t = eye(5, M=3, k=-3, sparse=True, chunk_size=2)
  
      res = t.execute().fetch()
      expected = np.eye(5, M=3, k=-3)
      assert isinstance(res, SparseNDArray)
      np.testing.assert_equal(res.toarray(), expected)
  
      t = eye(5, M=7, k=1, sparse=True, chunk_size=2)
  
      res = t.execute().fetch()
      expected = np.eye(5, M=7, k=1)
      assert isinstance(res, SparseNDArray)
      np.testing.assert_equal(res.toarray(), expected)
  
      t = eye(5, M=8, k=-3, sparse=True, chunk_size=2)
  
      res = t.execute().fetch()
      expected = np.eye(5, M=8, k=-3)
      assert isinstance(res, SparseNDArray)
      np.testing.assert_equal(res.toarray(), expected)
  
      t = eye(5, M=9, k=-3, chunk_size=2, order="F")
  
      res = t.execute().fetch()
      assert res.flags["C_CONTIGUOUS"] is True
      assert res.flags["F_CONTIGUOUS"] is False
  
imports: import tempfile
  import shutil
  import os
  import time
  import numpy
  import pandas
  import pytest
  from ....None import tensor
  from ....None import dataframe
  from ....lib.sparse import SparseNDArray
  from ....tests.core import require_cupy
  from ....utils import lazy_import
  from ...lib import nd_grid
  from ..None import tensor, ones_like, zeros, zeros_like, full, full_like, arange, empty, empty_like, diag, diagflat, eye, linspace, meshgrid, indices, triu, tril, from_dataframe, fromtiledb, fromhdf5, fromzarr
label_desc: Use image node_id 9 for calling a global function with example usage: test_eye_execution(setup) without return types