code: def test_diamond_not_merge():
      r"""
      The pattern on the left shouldn't match the structure on the right
  
      relu             relu
       | \              | \
       | clip           | add
       |  /             |  |
       mul              | clip
                        |  /
                        mul
      """
  
      def get_pattern():
          conv = make_conv_bias_relu_pattern()
          clip = is_op("clip")(conv, wildcard(), wildcard())
          return is_op("multiply")(conv, clip)
  
      def get_net():
          data = relay.var("data", shape=(1, 512, 28, 28))
          kernel = relay.var("kernel", shape=(256, 512, 1, 1))
          conv = relay.nn.conv2d(
              data,
              kernel,
              kernel_size=(1, 1),
              padding=(0, 0),
              strides=(1, 1),
          )
          bias = relay.nn.bias_add(
              conv, relay.var("bias", shape=(256,))
          )
          relu = relay.nn.relu(bias)
          add = relay.op.add(relu, relay.const(1.0))
          clip2 = relay.op.clip(add, 0, 255)
          mul = relay.op.multiply(relu, clip2)
          return relay.Function(relay.analysis.free_vars(mul), mul)
  
      pattern_table = [("pat", get_pattern())]
      net = get_net()
      check_result(pattern_table, net, net)
  
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 18 for calling a global function with example usage: test_diamond_not_merge() and returns: is_op, relay