class_docstr: Average attention.
  See "Accelerating Neural Transformer via an Average Attention Network"
  for more details.
code: def __init__(self, embed_dim, dropout=0.0, bias=True):
      super().__init__()
      self.embed_dim = embed_dim
      self.dropout = dropout
  
imports: import torch
  import torch.nn.functional
  from fairseq import utils
  from fairseq.incremental_decoding_utils import with_incremental_state
  from torch import nn
label_desc: Use image node_id 1 to create a new AverageAttention object from inherited base classes: AttentionAbstract with example: obj = AverageAttention(embed_dim, dropout, bias)