tfds.transform.apply_do_fn

{ }

Applies fn that can return any number of examples based on an input.

A do_fn can be used for multiple purposes such as augmentations, but also to filter examples.

fn the function that takes an example and outputs 0 or more examples.

function that can be applied to perform a do fn.