code: def test_mse_generator_adv_loss(self):
      adv_loss = get_adv_criterion(loss_type="mse")
  
      t0 = torch.randn(1, 2, 0)
      t1 = torch.FloatTensor([1.0, 1.0, 1.0])
      t2 = torch.FloatTensor([2.0, 5.0, 5.0])
  
      assert adv_loss(t0).item() == 0.0
      assert adv_loss(t1).item() == 0.0
      assert adv_loss(t2).item() == 11.0
  
file_path: audiocraft/tests/adversarial/test_losses.py
imports: import pytest
  import random
  import torch
  from audiocraft.adversarial import AdversarialLoss, get_adv_criterion, get_real_criterion, get_fake_criterion, FeatureMatchingLoss, MultiScaleDiscriminator
label_desc: Use image node_id 2 for calling the TestGeneratorAdversarialLoss obj's underlying member method code with example usage: obj.test_mse_generator_adv_loss() without return types