Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to know the length of a dataset tensorflow

ds = tf.data.TFRecordDataset(dataset_filenames)
ds_size = sum(1 for _ in ds)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #length #dataset #tensorflow
ADD COMMENT
Topic
Name
8+6 =