Skip to content

Commit 8cb19d4

Browse files
committed
update usage of numeric_version() Ops.
1 parent b578ad3 commit 8cb19d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/callbacks.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ callback_tensorboard <- function(log_dir = NULL, histogram_freq = 0,
372372
write_images = write_images
373373
)
374374

375-
if (tensorflow::tf_version() >= 1.14) {
375+
if (tensorflow::tf_version() >= "1.14") {
376376
args[["profile_batch"]] = as.integer(profile_batch)
377377
} else if (profile_batch > 0) {
378378
warning("profile_batch can only be used with TensorFlow >= 1.14", call. = FALSE)

0 commit comments

Comments
 (0)