code: def enh_inference_config(tmp_path: Path):
      # Write default configuration file
      args = {
          "encoder": "stft",
          "encoder_conf": {"n_fft": 64, "hop_length": 32},
          "decoder": "stft",
          "decoder_conf": {"n_fft": 64, "hop_length": 32},
      }
      (tmp_path / "enh").mkdir(parents=True, exist_ok=True)
      with open(tmp_path / "enh" / "inference.yaml", "w") as f:
          yaml_no_alias_safe_dump(args, f, indent=4, sort_keys=False)
      return tmp_path / "enh" / "inference.yaml"
  
file_path: espnet/test/espnet2/bin/test_enh_tse_inference.py
imports: from argparse import ArgumentParser
  from pathlib import Path
  import pytest
  import torch
  import yaml
  from espnet2.bin.enh_tse_inference import SeparateSpeech, get_parser, main
  from espnet2.enh.encoder.stft_encoder import STFTEncoder
  from espnet2.tasks.enh_tse import TargetSpeakerExtractionTask
  from espnet2.utils.get_default_kwargs import get_default_kwargs
  from espnet2.utils.yaml_no_alias_safe_dump import yaml_no_alias_safe_dump
label_desc: Use image node_id 5 for calling a global function with example usage: enh_inference_config(tmp_path) and returns: unknown