code: def test_neg_conv_bn_relu(data_shape):
      # conv + bn + relu can't be fusion case
      # eg.1
      #   --------------> [custom op]
      #   |
      # conv -----------> bn -----------> relu
      #
      # eg.2
      #                   --------------> [custom op]
      #                   |
      # conv -----------> bn -----------> relu
      class NegConvBNRelu(nn.HybridBlock):
          def __init__(self, batchnorm_pool=False, **kwargs):
              super(NegConvBNRelu, self).__init__(**kwargs)
              self.conv1 = nn.Conv2D(
                  channels=64,
                  kernel_size=(3, 3),
                  strides=(1, 1),
                  use_bias=False,
              )
              self.bn = nn.BatchNorm()
              self.act = nn.Activation("relu")
              self.pool = nn.AvgPool2D(pool_size=(4, 4))
              self.tailneg = TailNegBlock()
              self.batchnorm_pool = batchnorm_pool
  
          def forward(self, x):
              conv = self.conv1(x)
              bn = self.bn(conv)
              relu = self.act(bn)
              pool = (
                  self.pool(bn)
                  if self.batchnorm_pool
                  else self.pool(conv)
              )
              return self.tailneg(relu, pool)
  
      # eg.1 ([custom op] = pool11)
      net1 = NegConvBNRelu()
      attrs1 = []
      excluded_attrs1 = []
      check_neg_fusion(net1, attrs1, excluded_attrs1, data_shape)
  
      # eg.2 ([custom op] = pool)
      net2 = NegConvBNRelu(batchnorm_pool=True)
      attrs2 = ["with_bn"]
      excluded_attrs2 = ["with_act"]
      check_neg_fusion(net2, attrs2, excluded_attrs2, data_shape)
  
imports: import copy
  import mxnet
  import pytest
  from subgraph_common import check_fusion, check_neg_fusion, check_quantize
  from subgraph_common import CustomNormalInit, DATA_SHAPE, RELU6, TailNegBlock
  from subgraph_common import DATA_SHAPE, SG_PASS_NAME, QUANTIZE_SG_PASS_NAME
  from mxnet.contrib import quantization
  from mxnet.gluon import nn
  from mxnet.test_utils import assert_almost_equal, assert_almost_equal_with_err
label_desc: Use image node_id 23 for calling a global function with example usage: test_neg_conv_bn_relu(data_shape) and returns: self