code: def test_defuse_simple():
      """Simple testcase."""
  
      def before():
          x = relay.var("x", shape=(10, 20))
          y = relay.add(x, relay.const(1, "float32"))
          z = relay.exp(y)
          w = relay.squeeze(z)
          return relay.Function([x], w)
  
      x = before()
      x = run_opt_pass(x, transform.InferType())
      fused = run_opt_pass(x, transform.FuseOps())
      defused = run_opt_pass(fused, transform.DefuseOps())
  
      assert tvm.ir.structural_equal(x, defused)
  
file_path: tvm/tests/python/relay/test_pass_defuse_ops.py
imports: import numpy
  import pytest
  import tvm
  from tvm import relay
  from tvm.relay import transform
  from tvm.relay.testing import run_opt_pass
label_desc: Use image node_id 1 for calling a global function with example usage: test_defuse_simple() and returns: relay