code: def make_score2mel_args(**kwargs):
      defaults = dict(
          score2mel_type="xiaoice",
          score2mel_params={
              "midi_dim": 129,
              "duration_dim": 10,
              "adim": 4,
              "aheads": 2,
              "elayers": 2,
              "eunits": 4,
              "dlayers": 2,
              "dunits": 3,
              "postnet_layers": 2,
              "postnet_chans": 4,
              "postnet_filts": 5,
              "postnet_dropout_rate": 0.5,
              "positionwise_layer_type": "conv1d",
              "positionwise_conv_kernel_size": 1,
              "use_scaled_pos_enc": True,
              "use_batch_norm": True,
              "encoder_normalize_before": True,
              "decoder_normalize_before": True,
              "encoder_concat_after": False,
              "decoder_concat_after": False,
              "reduction_factor": 1,
              "encoder_type": "conformer",
              "decoder_type": "conformer",
              "transformer_enc_dropout_rate": 0.1,
              "transformer_enc_positional_dropout_rate": 0.1,
              "transformer_enc_attn_dropout_rate": 0.1,
              "transformer_dec_dropout_rate": 0.1,
              "transformer_dec_positional_dropout_rate": 0.1,
              "transformer_dec_attn_dropout_rate": 0.1,
              "conformer_rel_pos_type": "latest",
              "conformer_pos_enc_layer_type": "rel_pos",
              "conformer_self_attn_layer_type": "rel_selfattn",
              "conformer_activation_type": "swish",
              "use_macaron_style_in_conformer": True,
              "use_cnn_in_conformer": True,
              "zero_triu": False,
              "conformer_enc_kernel_size": 7,
              "conformer_dec_kernel_size": 31,
              "duration_predictor_layers": 2,
              "duration_predictor_chans": 4,
              "duration_predictor_kernel_size": 3,
              "duration_predictor_dropout_rate": 0.1,
              "spks": -1,
              "langs": -1,
              "spk_embed_dim": None,
              "spk_embed_integration_type": "add",
              "init_type": "xavier_uniform",
              "init_enc_alpha": 1.0,
              "init_dec_alpha": 1.0,
              "use_masking": False,
              "use_weighted_masking": False,
              "loss_function": "XiaoiceSing2",
              "loss_type": "L1",
              "lambda_mel": 1,
              "lambda_dur": 0.1,
              "lambda_pitch": 0.01,
              "lambda_vuv": 0.01,
          },
      )
      defaults.update(kwargs)
      return defaults
  
file_path: espnet/test/espnet2/gan_svs/joint/test_joint_score2wav.py
imports: import pytest
  import torch
  from packaging.version import parse
  from espnet2.gan_svs.joint import JointScore2Wav
label_desc: Use image node_id 1 for calling a global function with example usage: make_score2mel_args() and returns: defaults