code: def test_transformer_separator_invalid_type():
      with pytest.raises(ValueError):
          TransformerSeparator(
              input_dim=10,
              nonlinear="fff",
          )
  
file_path: espnet/test/espnet2/enh/separator/test_transformer_separator.py
imports: import pytest
  import torch
  from torch import Tensor
  from torch_complex import ComplexTensor
  from espnet2.enh.separator.transformer_separator import TransformerSeparator
label_desc: Use image node_id 3 for calling a global function with example usage: test_transformer_separator_invalid_type() without return types