code: def make_bn_relu_pattern():
      r"""Create a pattern to match the following graph.
  
       batch_norm
           |
      TupleGetItem(0)
           |
         relu
      """
      x = wildcard()
      gamma = wildcard()
      beta = wildcard()
      moving_mean = wildcard()
      moving_var = wildcard()
      bn_node = is_op("nn.batch_norm")(
          x, gamma, beta, moving_mean, moving_var
      )
      tuple_get_item_node = TupleGetItemPattern(bn_node, 0)
      r = is_op("nn.relu")(tuple_get_item_node)
      return r
  
imports: import pytest
  import tvm
  from tvm import relay, tir
  from tvm.relay.dataflow_pattern import TuplePattern, TupleGetItemPattern, is_op, wildcard
  from tvm.relay.testing import run_opt_pass
label_desc: Use image node_id 6 for calling a global function with example usage: make_bn_relu_pattern() and returns: r