code: def test_select_simplify():
      placeholder = te.placeholder([1, 128, 10, 10, 4], dtype="float32")
      tensor = topi.nn.adaptive_pool(
          placeholder, [1, 1], "avg", "NCHW4c"
      )
      result = te.create_prim_func([placeholder, tensor])
      script_func = result.script()
      # There should be no Select
      assert script_func.find("Select") == -1
      # There should be no undefined vars
      assert script_func.find("Var") == -1
  
imports: import numpy
  import tvm
  import tvm.testing
  from tvm import te, tir, topi, relay
  from tvm.script import tir
  import pytest
label_desc: Use image node_id 28 for calling a global function with example usage: test_select_simplify() without return types