code: def train_opts(parser):
      """All options used in train."""
      data_prepare_opts(parser, build_vocab_only=False)
      distributed_opts(parser)
      model_opts(parser)
      _add_train_general_opts(parser)
      _add_quant_opts(parser)
  
imports: import configargparse
  from onmt.modules.sru import CheckSRU
  from onmt.transforms import AVAILABLE_TRANSFORMS
  from onmt.constants import ModelTask
  from onmt.modules.position_ffn import ACTIVATION_FUNCTIONS
  from onmt.modules.position_ffn import ActivationFunction
  from onmt.constants import DefaultTokens
label_desc: Use image node_id 13 for calling a global function with example usage: train_opts(parser) without return types