<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/datasets/blob/v4.9.10/tensorflow_datasets/core/transform/__init__.py) |

Transform API.

## Functions

[`apply_do_fn(...)`](https://www.tensorflow.org/datasets/api_docs/python/tfds/transform/apply_do_fn): Applies `fn` that can return any number of examples based on an input.

[`apply_filter(...)`](https://www.tensorflow.org/datasets/api_docs/python/tfds/transform/apply_filter): Filters examples for whom `fn` returns true on `input_feature`.

[`apply_fn(...)`](https://www.tensorflow.org/datasets/api_docs/python/tfds/transform/apply_fn): Returns a function that applies the given `fn` on the `input_feature`.

[`apply_transformations(...)`](https://www.tensorflow.org/datasets/api_docs/python/tfds/transform/apply_transformations)

[`remove_feature(...)`](https://www.tensorflow.org/datasets/api_docs/python/tfds/transform/remove_feature): Removes the feature(s) with the given name.

[`rename_feature(...)`](https://www.tensorflow.org/datasets/api_docs/python/tfds/transform/rename_feature): Renames the feature.

[`rename_features(...)`](https://www.tensorflow.org/datasets/api_docs/python/tfds/transform/rename_features): Renames all the feature specified in the given mapping.

## Type Aliases

[`Example`](https://www.tensorflow.org/datasets/api_docs/python/tfds/transform/Example)

[`ExampleTransformFn`](https://www.tensorflow.org/datasets/api_docs/python/tfds/transform/ExampleTransformFn)

[`KeyExample`](https://www.tensorflow.org/datasets/api_docs/python/tfds/transform/KeyExample)

<br />

<br />

<br />

| ## Other Members ||
|---|---|
| Key | Instance of `types.UnionType` |

<br />