code: def __init__(
      self,
      out_channels,
      guidance_channels,
      kernel_size=3,
      stride=1,
      rate=2,
  ):
      super().__init__()
  
      self.kernel_size = kernel_size
      self.rate = rate
      self.stride = stride
      self.guidance_conv = nn.Conv2D(
          in_channels=guidance_channels,
          out_channels=guidance_channels // 2,
          kernel_size=1,
      )
  
      self.out_conv = nn.Sequential(
          nn.Conv2D(
              in_channels=out_channels,
              out_channels=out_channels,
              kernel_size=1,
              bias_attr=False,
          ),
          nn.BatchNorm(out_channels),
      )
  
      self.init_weight()
  
file_path: PaddleSeg/Matting/ppmatting/models/layers/gca_module.py
imports: import paddle
  import paddle.nn
  import paddle.nn.functional
  from paddleseg.cvlibs import param_init
label_desc: Use image node_id 1 to create a new GuidedCxtAtten object from inherited base classes: nn with example: obj = GuidedCxtAtten(out_channels, guidance_channels, kernel_size, stride, rate)