Making TF TransfoXL model compliant with AMP (#10264)

* Fix AMP

* Apply style

* Remove unused import
This commit is contained in:
Julien Plu
2021-02-19 12:58:07 +01:00
committed by GitHub
parent 86caeb7636
commit 3e116ed331
3 changed files with 41 additions and 24 deletions

View File

@@ -205,10 +205,6 @@ class TFTransfoXLModelTest(TFModelTesterMixin, unittest.TestCase):
name = model.get_bias()
assert name is None
def test_mixed_precision(self):
# TODO JP: Make TransfoXL float16 compliant
pass
def test_xla_mode(self):
# TODO JP: Make TransfoXL XLA compliant
pass