code: def __init__(self, input_size, hidden_size=256, activation="tanh"):
      super().__init__()
      self.fc_layer1 = nn.Linear(input_size, hidden_size)
      self.fc_layer1_activation = get_activation(activation)
      self.fc_layer2 = nn.Linear(hidden_size, 1, bias=False)
      self.input_shape_var = None
      self.output_shape_var = None
  
imports: import logging
  import torch
  from torch import nn
  from torch.nn import functional
  from ludwig.utils.torch_utils import get_activation, LudwigModule
label_desc: Use image node_id 1 to create a new FeedForwardAttentionReducer object from inherited base classes: LudwigModule with example: obj = FeedForwardAttentionReducer(input_size, hidden_size, activation)