code: def test_in_out(self):  # pylint: disable=no-self-use
      layer = Encoder(128)
      dummy_input = T.rand(4, 8, 128)
  
      print(layer)
      output = layer(dummy_input)
      print(output.shape)
      assert output.shape[0] == 4
      assert output.shape[1] == 8
      assert output.shape[2] == 256
  
file_path: TTS/tests/tts_tests/test_tacotron_layers.py
imports: import unittest
  import torch
  from TTS.tts.layers.tacotron.tacotron import CBHG, Decoder, Encoder, Prenet
label_desc: Use image node_id 1 for calling the EncoderTests obj's underlying member method code with example usage: obj.test_in_out() without return types