Optimization of Transformer API (#30957)
* Support 'bool' and 'int' for attention mask. * Update docs. * Add unittest for Transformer. * fix bugs.
Showing
想要评论请 注册 或 登录
* Support 'bool' and 'int' for attention mask. * Update docs. * Add unittest for Transformer. * fix bugs.