code: def config_file(tmp_path: Path):
      # Write default configuration file
      TargetSpeakerExtractionTask.main(
          cmd=[
              "--dry_run",
              "true",
              "--output_dir",
              str(tmp_path / "enh"),
          ]
      )
  
      with open(tmp_path / "enh" / "config.yaml", "r") as f:
          args = yaml.safe_load(f)
  
      if args["encoder"] == "stft" and len(args["encoder_conf"]) == 0:
          args["encoder_conf"] = get_default_kwargs(STFTEncoder)
  
      with open(tmp_path / "enh" / "config.yaml", "w") as f:
          yaml_no_alias_safe_dump(args, f, indent=4, sort_keys=False)
  
      return tmp_path / "enh" / "config.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 3 for calling a global function with example usage: config_file(tmp_path) and returns: unknown