add missing require_tf for TFOPTGenerationTest (#19010)

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
Yih-Dar
2022-09-13 18:10:11 +02:00
committed by GitHub
parent d14af22c5c
commit ad5045e3e3

View File

@@ -315,6 +315,7 @@ class TFOPTEmbeddingsTest(unittest.TestCase):
self.assertTrue(np.allclose(logits, logits_meta, atol=1e-4))
@require_tf
@slow
class TFOPTGenerationTest(unittest.TestCase):
@property