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.
1 parent e12b780 commit 87b85d5Copy full SHA for 87b85d5
R/model.R
@@ -973,7 +973,8 @@ is_main_thread_generator.keras_preprocessing.image.Iterator <- function(x) {
973
}
974
975
is_tensorflow_dataset <- function(x) {
976
- inherits(x, "tf_dataset")
+ inherits(x, "tensorflow.python.data.ops.dataset_ops.DatasetV2") ||
977
+ inherits(x, "tensorflow.python.data.ops.dataset_ops.Dataset")
978
979
980
resolve_tensorflow_dataset <- function(x) {
0 commit comments