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 16991d3 + 87b85d5 commit 3316c86Copy full SHA for 3316c86
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, "tensorflow.python.data.ops.dataset_ops.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