"next_docs/en/git@developer.sourcefind.cn:wangsen/mineru.git" did not exist on "cece8f53759170bc486cc0b12f75ca652b2743ff"
Transformer partial fix (#5092)
* Fix Transformer TPU crash in Python 2.X. - Tensorflow raises an error when tf_inspect.getfullargspec is called on a functools.partial in Python 2.X. This issue would be hit during the eval stage of the Transformer TPU model. This change replaces the call to functools.partial with a lambda to work around the issue. * Remove unused import from transformer_main. * Fix lint error.
Showing
Please register or sign in to comment