class_docstr: Aggregation layer to compute the pixel-region representation.
class_docstr_tok: ["Aggregation","layer","to","compute","the","pixel-region","representation","."]
code: def __init__(self, pixels_channels, regions_channels):
      super().__init__()
      self.pixels_channels = pixels_channels
      self.regions_channels = regions_channels
  
imports: import paddle
  import paddle.nn
  import paddle.nn.functional
  from paddleseg import utils
  from paddleseg.cvlibs import manager, param_init
  from paddleseg.models import layers
label_desc: Use image node_id 1 to create a new SpatialGatherBlock object from inherited base classes: nn with example: obj = SpatialGatherBlock(pixels_channels, regions_channels)