code: def _make_feedforward(input_dim, output_dim):
      return FeedForwardEncoder(
          FeedForward(
              input_dim=input_dim,
              num_layers=1,
              activations=torch.nn.ReLU(),
              hidden_dims=output_dim,
          )
      )
  
imports: import torch
  import numpy
  import pytest
  from allennlp.common.testing import AllenNlpTestCase
  from allennlp.modules.seq2seq_encoders import ComposeEncoder, FeedForwardEncoder, Seq2SeqEncoder
  from allennlp.modules import FeedForward
label_desc: Use image node_id 1 for calling a global function with example usage: _make_feedforward(input_dim, output_dim) and returns: FeedForwardEncoder