code: def __init__(self, decoder_hidden_state_dim, context_dim, **kwargs):
      super().__init__(
          decoder_hidden_state_dim, context_dim, pool_type="mean"
      )
  
file_path: translate/pytorch_translate/attention/pooling_attention.py
imports: import torch
  from pytorch_translate.attention import attention_utils, BaseAttention, register_attention
  from torch.autograd import Variable
label_desc: Use image node_id 1 to create a new MeanPoolingAttention object from inherited base classes: PoolingAttention with example: obj = MeanPoolingAttention(decoder_hidden_state_dim, context_dim)