code: def add_training_io_args(params):
      params = params.add_argument_group("Data & I/O")
  
      # Unfortunately we must set --source/--target to not required as we either accept these parameters
      # or --prepared-data which can not easily be encoded in argparse.
      add_training_data_args(params, required=False)
      add_prepared_data_args(params)
      add_validation_data_params(params)
      add_bucketing_args(params)
      add_vocab_args(params)
      add_training_output_args(params)
  
imports: import argparse
  import os
  import sys
  import types
  from typing import Any, Callable, Dict, List, Tuple, Optional
  import yaml
  from sockeye.utils import smart_open
  from .None import constants
label_desc: Use image node_id 22 for calling a global function with example usage: add_training_io_args(params) without return types