code: def __init__(self, inp, oup, stride, groups=(4, 4)):
      super(StemLayer, self).__init__()
  
      g1, g2 = groups
      self.stem = nn.Sequential(
          SpatialSepConvSF(inp, groups, 3, stride),
          MaxGroupPooling(2) if g1 * g2 == 2 * oup else nn.ReLU6(),
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import paddle
  import paddle.nn
  from ppocr.modeling.backbones.det_mobilenet_v3 import make_divisible
label_desc: Use image node_id 1 to create a new StemLayer object from inherited base classes: nn with example: obj = StemLayer(inp, oup, stride, groups)