code: def test_simplify_rsqrt():
      shape = (32, 1, 1)
      x = relay.var("x", shape=shape, dtype="float32")
  
      def before(c):
          return relay.const(c) / relay.sqrt(x)
  
      def expected(c):
          if c == 1:
              return relay.rsqrt(x)
          else:
              return relay.const(c) * relay.rsqrt(x)
  
      for c in [1.0, 2.0, 2.5]:
          opt = run_opt_pass(before(c), transform.SimplifyExpr())
          after = run_opt_pass(expected(c), transform.InferType())
          assert tvm.ir.structural_equal(opt, after)
  
imports: from math import sqrt
  import pytest
  import tvm
  from tvm import relay
  from tvm.relay import transform
  from tvm.relay.testing import run_opt_pass, run_infer_type
  import numpy
label_desc: Use image node_id 17 for calling a global function with example usage: test_simplify_rsqrt() and returns: unknown, relay, unknown