class_docstr: Translate from source language to target language with a model initialized with a multilingual pretrain.
  
  Args:
      src_dict (~fairseq.data.Dictionary): dictionary for the source language
      tgt_dict (~fairseq.data.Dictionary): dictionary for the target language
  
  .. note::
  
      The translation task is compatible with :mod:`fairseq-train`,
      :mod:`fairseq-generate` and :mod:`fairseq-interactive`.
  
  The translation task provides the following additional command-line
  arguments:
  
  .. argparse::
      :ref: fairseq.tasks.translation_parser
      :prog:
docstr: Add task-specific arguments to the parser.
file_path: fairseq/fairseq/tasks/translation_from_pretrained_bart.py
imports: import torch
  from fairseq import utils
  from fairseq.data import LanguagePairDataset
  from .None import register_task
  from .translation import TranslationTask, load_langpair_dataset
label_desc: Use image node_id 1 for calling the TranslationFromPretrainedBARTTask obj's underlying member method code with example usage: obj.add_args(parser) without return types