Created by: gongweibao
https://github.com/PaddlePaddle/models/blob/develop/fluid/neural_machine_translation/transformer/model.py#L462