Skip to content

Commit

Permalink
logical -> flag, since the length of this arg must be 1
Browse files Browse the repository at this point in the history
Co-authored-by: Sebastian Fischer <[email protected]>
  • Loading branch information
cxzhang4 and sebffischer authored Oct 15, 2024
1 parent a86c946 commit 74757a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/CallbackSetTB.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ CallbackSetTB = R6Class("CallbackSetTB",
if (!dir.exists(path)) {
dir.create(path, recursive = TRUE)
}
self$log_train_loss = assert_logical(log_train_loss)
self$log_train_loss = assert_flag(log_train_loss)
},
#' @description
#' Logs the training loss, training measures, and validation measures as TensorFlow events.
Expand Down

0 comments on commit 74757a7

Please sign in to comment.