code: def make_vits_generator_args(**kwargs):
      defaults = dict(
          generator_type="vits_generator",
          generator_params={
              "vocabs": 10,
              "aux_channels": 5,
              "hidden_channels": 4,
              "spks": -1,
              "langs": -1,
              "spk_embed_dim": -1,
              "global_channels": -1,
              "segment_size": 4,
              "text_encoder_attention_heads": 2,
              "text_encoder_ffn_expand": 2,
              "text_encoder_blocks": 2,
              "text_encoder_positionwise_layer_type": "conv1d",
              "text_encoder_positionwise_conv_kernel_size": 1,
              "text_encoder_positional_encoding_layer_type": "rel_pos",
              "text_encoder_self_attention_layer_type": "rel_selfattn",
              "text_encoder_activation_type": "swish",
              "text_encoder_normalize_before": True,
              "text_encoder_dropout_rate": 0.1,
              "text_encoder_positional_dropout_rate": 0.0,
              "text_encoder_attention_dropout_rate": 0.0,
              "text_encoder_conformer_kernel_size": 7,
              "use_macaron_style_in_text_encoder": True,
              "use_conformer_conv_in_text_encoder": True,
              "decoder_kernel_size": 7,
              "decoder_channels": 16,
              "decoder_upsample_scales": (16, 16),
              "decoder_upsample_kernel_sizes": (32, 32),
              "decoder_resblock_kernel_sizes": (3, 5),
              "decoder_resblock_dilations": [(1, 3), (1, 3)],
              "use_weight_norm_in_decoder": True,
              "posterior_encoder_kernel_size": 5,
              "posterior_encoder_layers": 2,
              "posterior_encoder_stacks": 1,
              "posterior_encoder_base_dilation": 1,
              "posterior_encoder_dropout_rate": 0.0,
              "use_weight_norm_in_posterior_encoder": True,
              "flow_flows": 2,
              "flow_kernel_size": 5,
              "flow_base_dilation": 1,
              "flow_layers": 2,
              "flow_dropout_rate": 0.0,
              "use_weight_norm_in_flow": True,
              "use_only_mean_in_flow": True,
              "stochastic_duration_predictor_kernel_size": 3,
              "stochastic_duration_predictor_dropout_rate": 0.5,
              "stochastic_duration_predictor_flows": 2,
              "stochastic_duration_predictor_dds_conv_layers": 3,
          },
      )
      defaults.update(kwargs)
      return defaults
  
file_path: espnet/test/espnet2/gan_tts/vits/test_vits.py
imports: import pytest
  import torch
  from espnet2.gan_tts.vits import VITS
label_desc: Use image node_id 2 for calling a global function with example usage: make_vits_generator_args() and returns: defaults