code: def test_exp():
      x = relay.var("x", shape=(1, 16, 16, 16), dtype="float32")
      y = relay.exp(x)
      func = relay.Function([x], y)
      mod = tvm.IRModule.from_expr(func)
  
      fast_mod = FastMath()(mod)
      assert "fast_exp" in fast_mod.astext()
  
      # Check that FastMath option works for relay.build.
      with tvm.transform.PassContext(
          opt_level=3, required_pass=["FastMath"]
      ):
          fast_mod = relay.optimize(mod, target="llvm", params=None)
      assert "fast_exp" in fast_mod[0].astext()
  
file_path: tvm/tests/python/relay/test_pass_fast_math.py
imports: import tvm
  from tvm.ir import IRModule
  from tvm import relay
  from tvm.relay.transform import FastMath
label_desc: Use image node_id 1 for calling a global function with example usage: test_exp() without return types