dataset_flat_map: Maps map_func across this dataset and flattens the result.

View source: R/dataset_methods.R

dataset_flat_mapR Documentation

Maps map_func across this dataset and flattens the result.

Description

Maps map_func across this dataset and flattens the result.

Usage

dataset_flat_map(dataset, map_func)

Arguments

dataset

A dataset

map_func

A function mapping a nested structure of tensors (having shapes and types defined by output_shapes() and output_types() to a dataset.

Value

A dataset


rstudio/tfdatasets documentation built on July 22, 2024, 12:41 a.m.