code: def test_create_view():
      arr = ones((10, 20, 30), chunk_size=[4, 3, 5])
      arr2 = transpose(arr)
      assert arr2.op.create_view is True
  
      arr3 = transpose(arr)
      assert arr3.op.create_view is True
  
      arr4 = arr.swapaxes(0, 1)
      assert arr4.op.create_view is True
  
      arr5 = moveaxis(arr, 1, 0)
      assert arr5.op.create_view is True
  
      arr6 = atleast_1d(1)
      assert arr6.op.create_view is True
  
      arr7 = atleast_2d([1, 1])
      assert arr7.op.create_view is True
  
      arr8 = atleast_3d([1, 1])
      assert arr8.op.create_view is True
  
      arr9 = arr[:3, [1, 2, 3]]
      # no view cuz of fancy indexing
      assert arr9.op.create_view is False
  
      arr9[0][0][0] = 100
      assert arr9.op.create_view is False
  
      arr10 = arr[:3, None, :5]
      assert arr10.op.create_view is True
  
      arr10[0][0][0] = 100
      assert arr10.op.create_view is False
  
      data = np.array([[[0], [1], [2]]])
      x = tensor(data)
  
      t = squeeze(x)
      assert t.op.create_view is True
  
      y = x.reshape(3)
      assert y.op.create_view is True
  
imports: import numpy
  import pytest
  from ....core import tile
  from ....core.operand import OperandStage
  from ...datasource import ones, tensor, arange
  from ..None import transpose, broadcast_to, where, argwhere, array_split, split, squeeze, result_type, repeat, copyto, isin, moveaxis, TensorCopyTo, atleast_1d, atleast_2d, atleast_3d, ravel, searchsorted, unique, sort, partition, topk, to_gpu, to_cpu
label_desc: Use image node_id 16 for calling a global function with example usage: test_create_view() without return types