code: def test_resnet18_audio_encoder(self):
      config = OmegaConf.structured(
          encoders.ResNet18AudioEncoder.Config()
      )
      encoder = encoders.ResNet18AudioEncoder(config)
      x = torch.rand((1, 1, 4778, 224))
      output = encoder(x)
      self.assertEqual(output.size(-1), config.out_dim)
  
imports: import tempfile
  import unittest
  import torch
  from mmf.modules import encoders
  from omegaconf import OmegaConf
  from tests.test_utils import setup_proxy, skip_if_no_pytorchvideo, skip_if_old_transformers
  from torch import nn
label_desc: Use image node_id 11 for calling the TestEncoders obj's underlying member method code with example usage: obj.test_resnet18_audio_encoder() without return types