class_docstr: Transformer model for machine translation.
class_docstr_tok: ["Transformer","model","for","machine","translation","."]
code: def forward(self, src_words: paddle.Tensor):
      return self.transformer(src_words)
  
imports: import os
  from typing import List
  import paddle
  import paddle.nn
  from paddlenlp.data import Pad
  from paddlenlp.data import Vocab
  from paddlenlp.transformers import InferTransformerModel
  from paddlenlp.transformers import position_encoding_init
  from transformer_zh_en.utils import MTTokenizer
  from transformer_zh_en.utils import post_process_seq
  from paddlehub.env import MODULE_HOME
  from paddlehub.module.module import moduleinfo
  from paddlehub.module.module import serving
label_desc: Use image node_id 2 for calling the MTTransformer obj's underlying member method code with example usage: obj.forward(src_words) and returns: self