code: def make_inference_args(**kwargs):
      defaults = dict(
          threshold=0.5,
          maxlenratio=5.0,
          minlenratio=0.0,
          use_att_constraint=False,
          backward_window=1,
          forward_window=3,
      )
      defaults.update(kwargs)
      return defaults
  
file_path: espnet/test/test_e2e_tts_tacotron2.py
imports: from __future__ import division, print_function
  from argparse import Namespace
  import numpy
  import pytest
  import torch
  from espnet.nets.pytorch_backend.e2e_tts_tacotron2 import Tacotron2
  from espnet.nets.pytorch_backend.nets_utils import pad_list
label_desc: Use image node_id 2 for calling a global function with example usage: make_inference_args() and returns: defaults