code: def test_input_output_dim(self):
      dim = 77
      gated_sum = GatedSum(dim)
      numpy.testing.assert_equal(gated_sum.get_input_dim(), dim)
      numpy.testing.assert_equal(gated_sum.get_output_dim(), dim)
  
file_path: allennlp/tests/modules/gated_sum_test.py
imports: import pytest
  import torch
  import numpy
  from allennlp.common.testing import AllenNlpTestCase
  from allennlp.modules import GatedSum
label_desc: Use image node_id 2 for calling the TestGatedSum obj's underlying member method code with example usage: obj.test_input_output_dim() without return types