"vscode:/vscode.git/clone" did not exist on "841a231301b6d7698ebe0ce5a5d448cd906a642a"
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