code: def generate_input_params(**arg_dicts):
      user_param = _generate_base_params()
      for key in list(arg_dicts):
          if not arg_dicts[key]:
              continue
          user_param[key].update(**arg_dicts[key])
      return user_param
  
imports: from __future__ import absolute_import, print_function
  import os
  import tensorflow
  from niftynet.engine.application_driver import ApplicationDriver
  from niftynet.utilities.util_common import ParserNamespace
  from tests.niftynet_testcase import NiftyNetTestCase
label_desc: Use image node_id 3 for calling a global function with example usage: generate_input_params() and returns: user_param