code: def access_in_if_then_else_func() -> None:
      A = T.alloc_buffer([8])
      B = T.alloc_buffer([8])
      with T.block():
          T.reads([A[0:5]])
          T.writes([B[0:8]])
          for i in T.serial(0, 8):
              B[i] = T.if_then_else(i < 5, A[i], 0.0, dtype="float32")
  
imports: import pytest
  import tvm
  from tvm import tir
  from tvm.script import tir
  from tvm.ir import Range
label_desc: Use image node_id 6 for calling a global function with example usage: access_in_if_then_else_func() without return types