Skip to content

Commit

Permalink
passing r cmd check
Browse files Browse the repository at this point in the history
  • Loading branch information
t-kalinowski committed Oct 20, 2023
1 parent 1431d51 commit 9a591db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,4 @@
^scratch$
^CRAN-SUBMISSION$
^revdep$
^debug.py$
2 changes: 1 addition & 1 deletion R/model-persistence.R
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ export_savedmodel.keras.models.model.Model <- function(
}

if (identical(remove_learning_phase, TRUE)) {
k_set_learning_phase(0)
# k_set_learning_phase(0) # TODO: fate of this symbol in keras 3?
message("Keras learning phase set to 0 for export (restart R session before doing additional training)")
object <- reload_model(object)
}
Expand Down

0 comments on commit 9a591db

Please sign in to comment.