class_docstr: Make the size of feature map divisible by local group size.
class_docstr_tok: ["Make","the","size","of","feature","map","divisible","by","local","group","size","."]
code: def __init__(self, local_group_size=7):
      self.lgs = local_group_size
      if not isinstance(self.lgs, (tuple, list)):
          self.lgs = to_2tuple(self.lgs)
      assert len(self.lgs) == 2, "The length of self.lgs must be 2."
  
imports: import paddle
  import paddle.nn
  import paddle.nn.functional
  from paddleseg.cvlibs import manager, param_init
  from paddleseg.models import layers
  from paddleseg.utils import utils, logger
  from paddleseg.models.backbones.transformer_utils import *
label_desc: Use image node_id 1 to create a new PadHelper object  with example: obj = PadHelper(local_group_size)