code: def test_linspace():
      a = linspace(2.0, 3.0, num=5, chunk_size=2)
  
      assert a.shape == (5,)
  
      a = tile(a)
      assert a.nsplits == ((2, 2, 1),)
      assert a.chunks[0].op.start == 2.0
      assert a.chunks[0].op.stop == 2.25
      assert a.chunks[1].op.start == 2.5
      assert a.chunks[1].op.stop == 2.75
      assert a.chunks[2].op.start == 3.0
      assert a.chunks[2].op.stop == 3.0
  
      a = linspace(2.0, 3.0, num=5, endpoint=False, chunk_size=2)
  
      assert a.shape == (5,)
  
      a = tile(a)
      assert a.nsplits == ((2, 2, 1),)
      assert a.chunks[0].op.start == 2.0
      assert a.chunks[0].op.stop == 2.2
      assert a.chunks[1].op.start == 2.4
      assert a.chunks[1].op.stop == 2.6
      assert a.chunks[2].op.start == 2.8
      assert a.chunks[2].op.stop == 2.8
  
      _, step = linspace(2.0, 3.0, num=5, chunk_size=2, retstep=True)
      assert step == 0.25
  
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 10 for calling a global function with example usage: test_linspace() without return types