code: def add_custom_decoder_arguments(
      group: _ArgumentGroup,
  ) -> _ArgumentGroup:
      """Define arguments for Custom decoder."""
      group.add_argument(
          "--dec-block-arch",
          type=eval,
          action="append",
          default=None,
          help="Custom decoder blocks definition",
      )
      group.add_argument(
          "--dec-block-repeat",
          default=1,
          type=int,
          help="Repeat N times the provided decoder blocks if N > 1",
      )
      group.add_argument(
          "--custom-dec-input-layer",
          type=str,
          default="embed",
          choices=["linear", "embed"],
          help="Custom decoder input layer type",
      )
      group.add_argument(
          "--custom-dec-pw-activation-type",
          type=str,
          default="relu",
          choices=["relu", "hardtanh", "selu", "swish"],
          help="Custom decoder pointwise activation type",
      )
  
      return group
  
file_path: espnet/espnet/nets/pytorch_backend/transducer/arguments.py
imports: import ast
  from argparse import _ArgumentGroup
  from distutils.util import strtobool
label_desc: Use image node_id 6 for calling a global function with example usage: add_custom_decoder_arguments(group) and returns: group