code: def ConvFactory(
      data,
      num_filter,
      kernel,
      stride=(1, 1),
      pad=(0, 0),
      act_type="relu",
      mirror_attr={},
      with_act=True,
  ):
      conv = mx.symbol.Convolution(
          data=data,
          num_filter=num_filter,
          kernel=kernel,
          stride=stride,
          pad=pad,
      )
      bn = mx.symbol.BatchNorm(data=conv)
      if with_act:
          act = mx.symbol.Activation(
              data=bn, act_type=act_type, attr=mirror_attr
          )
          return act
      else:
          return bn
  
imports: import mxnet
label_desc: Use image node_id 1 for calling a global function with example usage: ConvFactory(data, num_filter, kernel, stride, pad, act_type, mirror_attr, with_act) and returns: act, bn