webp_dataset {tfio} | R Documentation |
Create a WebPDataset
.
Description
A WebP Image File Dataset that reads the WebP file.
Usage
webp_dataset(filenames)
Arguments
filenames |
A |
Examples
## Not run:
dataset <- webp_dataset(
filenames = list("testdata/sample.webp")) %>%
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)
})
## End(Not run)
[Package tfio version 0.4.1 Index]