We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 20470fe + a825c0a commit 44cac16Copy full SHA for 44cac16
NEWS.md
@@ -1,5 +1,8 @@
1
# keras3 (development version)
2
3
+- The progress bar in `fit()`, `evaluate()` and `predict()` now
4
+ defaults to not presenting during testthat tests.
5
+
6
## Added compatibility with Keras v3.8.0. User-facing changes:
7
8
- New symbols:
R/model-training.R
@@ -1054,6 +1054,8 @@ as_model_verbose_arg <- function(x) {
1054
# x == auto
1055
if(isTRUE(getOption('knitr.in.progress')))
1056
return(2L)
1057
+ if(identical(Sys.getenv("TESTTHAT"), "true"))
1058
+ return(0L) # don't draw progress in tests
1059
x # "auto"
1060
}
1061
0 commit comments