code: def __add_autoencoder_args(parser):
      """
      keywords defined for autoencoder
  
      :param parser:
      :return:
      """
      from niftynet.application.autoencoder_application import (
          SUPPORTED_INFERENCE,
      )
  
      parser.add_argument(
          "--inference_type",
          metavar="",
          help="choose an inference type_str for the trained autoencoder",
          choices=list(SUPPORTED_INFERENCE),
      )
  
      parser.add_argument(
          "--noise_stddev",
          metavar="",
          help="standard deviation of noise when inference type_str is sample",
          type=float,
      )
  
      parser.add_argument(
          "--n_interpolations",
          metavar="",
          help="the method of generating window from image",
          type=int,
          default=10,
      )
  
      from niftynet.application.autoencoder_application import (
          SUPPORTED_INPUT,
      )
  
      parser = add_input_name_args(parser, SUPPORTED_INPUT)
      return parser
  
file_path: NiftyNet/niftynet/utilities/user_parameters_custom.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  from niftynet.utilities.user_parameters_helper import add_input_name_args, int_array, str2boolean
label_desc: Use image node_id 6 for calling a global function with example usage: __add_autoencoder_args(parser) and returns: parser