Reduce the time spent for the TF slow tests (#10152)

* rework savedmodel slow test

* Improve savedmodel tests

* Remove useless content
This commit is contained in:
Julien Plu
2021-02-18 15:52:57 +01:00
committed by GitHub
parent 14ed3b978e
commit 2acae50a0c
7 changed files with 91 additions and 166 deletions

View File

@@ -283,7 +283,6 @@ def booleans_processing(config, **kwargs):
if "use_cache" in kwargs:
final_booleans["use_cache"] = kwargs["use_cache"] if kwargs["use_cache"] is not None else config.use_cache
else:
if (
kwargs["output_attentions"] is not None