code: def test_Encoder_invalid_type():
      with pytest.raises(ValueError):
          FairseqAVHubertEncoder(
              20,
              encoder_embed_dim=10,
              encoder_layers=2,
              encoder_ffn_embed_dim=40,
              encoder_attention_heads=2,
              extracted=True,
              pretrain=False,
          )
  
imports: import pytest
  import torch
  from espnet2.asr.encoder.avhubert_encoder import FairseqAVHubertEncoder
label_desc: Use image node_id 4 for calling a global function with example usage: test_Encoder_invalid_type() without return types