Fixed Error in Transformer Example (#24837)
Summary:
In the examples for creating an instance of the Transformer module, src and tgt parameters (from forward) were added which are not present in the __init__ .
Pull Request resolved: https://github.com/pytorch/pytorch/pull/24837
Differential Revision: D16938065
Pulled By: zhangguanheng66
fbshipit-source-id: 7b2d2180d95ddb65930ad83c87c926e35f2bf521