code: def test_melgan_discriminator():
      model = MelganDiscriminator()
      print(model)
      dummy_input = torch.rand((4, 1, 256 * 10))
      output, _ = model(dummy_input)
      assert np.all(output.shape == (4, 1, 10))
  
imports: import numpy
  import torch
  from TTS.vocoder.models.melgan_discriminator import MelganDiscriminator
  from TTS.vocoder.models.melgan_multiscale_discriminator import MelganMultiscaleDiscriminator
label_desc: Use image node_id 1 for calling a global function with example usage: test_melgan_discriminator() without return types