code: def test_vectorized_uint8():
      @T.prim_func
      def func(
          A: T.Buffer((16), "uint8"), B: T.Buffer((16), "float32")
      ):
          for i in T.thread_binding(4, thread="threadIdx.x"):
              for j in T.vectorized(4):
                  with T.block("block"):
                      vi = T.axis.spatial(16, i * 4 + j)
                      B[vi] = T.Cast("float32", A[vi])
  
      dev = tvm.metal()
      a = np.arange(16).astype("uint8")
      a_nd = tvm.nd.array(a, dev)
      b_nd = tvm.nd.empty((16,), "float32", dev)
      f = tvm.build(func, target="metal")
      f(a_nd, b_nd)
      np.testing.assert_allclose(
          b_nd.numpy(), a.astype("float32"), atol=1e-5, rtol=1e-5
      )
  
file_path: tvm/tests/python/codegen/test_target_codegen_metal.py
imports: import numpy
  import tvm
  import tvm.script
  import tvm.testing
  from tvm import te
  from tvm.script import tir
label_desc: Use image node_id 6 for calling a global function with example usage: test_vectorized_uint8() without return types