A TIFF Image File Dataset that reads the TIFF file.
tiff_dataset(filenames)
filenames | A |
---|
if (FALSE) { dataset <- tiff_dataset( filenames = list("testdata/small.tiff")) %>% dataset_repeat(1) sess <- tf$Session() iterator <- make_iterator_one_shot(dataset) next_batch <- iterator_get_next(iterator) until_out_of_range({ batch <- sess$run(next_batch) print(batch) }) }