how to know the length of a dataset tensorflow

Solutions on MaxInterview for how to know the length of a dataset tensorflow by the best coders in the world

showing results for - "how to know the length of a dataset tensorflow"
Adriana
26 Nov 2018
1ds = tf.data.TFRecordDataset(dataset_filenames)
2ds_size = sum(1 for _ in ds)