code: def test_arange():
      t = arange(10, chunk_size=3)
  
      assert t.op.gpu is False
      t = tile(t)
  
      assert t.shape == (10,)
      assert t.nsplits == ((3, 3, 3, 1),)
      assert t.chunks[1].op.start == 3
      assert t.chunks[1].op.stop == 6
  
      t = arange(0, 10, 3, chunk_size=2)
      t = tile(t)
  
      assert t.shape == (4,)
      assert t.nsplits == ((2, 2),)
      assert t.chunks[0].op.start == 0
      assert t.chunks[0].op.stop == 6
      assert t.chunks[0].op.step == 3
      assert t.chunks[1].op.start == 6
      assert t.chunks[1].op.stop == 12
      assert t.chunks[1].op.step == 3
  
      pytest.raises(TypeError, lambda: arange(10, start=0))
      pytest.raises(TypeError, lambda: arange(0, 10, stop=0))
      pytest.raises(TypeError, lambda: arange())
      pytest.raises(
          ValueError,
          lambda: arange("1066-10-13", dtype=np.datetime64, chunks=3),
      )
  
imports: import shutil
  import tempfile
  from copy import copy
  import numpy
  import scipy.sparse
  import pytest
  from ....None import dataframe
  from ....core import enter_mode, tile
  from ...None import ones, zeros, tensor, full, arange, diag, linspace, triu, tril, ones_like
  from ...core import Tensor, SparseTensor
  from ..None import array, fromtiledb, TensorTileDBDataSource, fromdense, asarray, ascontiguousarray, asfortranarray
  from ..tri import TensorTriu, TensorTril
  from ..zeros import TensorZeros
  from ..from_dense import DenseToSparse
  from ..array import CSRMatrixDataSource
  from ..ones import TensorOnes, TensorOnesLike
  from ..from_dataframe import from_dataframe
label_desc: Use image node_id 8 for calling a global function with example usage: test_arange() without return types