# Module: tf.data.experimental.service

<br />

Public API for tf._api.v2.data.experimental.service namespace

## Classes

[`class CrossTrainerCache`](https://www.tensorflow.org/api_docs/python/tf/data/experimental/service/CrossTrainerCache): Options related to the tf.data service cross trainer cache.

[`class DispatchServer`](https://www.tensorflow.org/api_docs/python/tf/data/experimental/service/DispatchServer): An in-process tf.data service dispatch server.

[`class DispatcherConfig`](https://www.tensorflow.org/api_docs/python/tf/data/experimental/service/DispatcherConfig): Configuration class for tf.data service dispatchers.

[`class ShardingPolicy`](https://www.tensorflow.org/api_docs/python/tf/data/experimental/service/ShardingPolicy): Specifies how to shard data among tf.data service workers.

[`class WorkerConfig`](https://www.tensorflow.org/api_docs/python/tf/data/experimental/service/WorkerConfig): Configuration class for tf.data service dispatchers.

[`class WorkerServer`](https://www.tensorflow.org/api_docs/python/tf/data/experimental/service/WorkerServer): An in-process tf.data service worker server.

## Functions

[`distribute(...)`](https://www.tensorflow.org/api_docs/python/tf/data/experimental/service/distribute): A transformation that moves dataset processing to the tf.data service.

[`from_dataset_id(...)`](https://www.tensorflow.org/api_docs/python/tf/data/experimental/service/from_dataset_id): Creates a dataset which reads data from the tf.data service.

[`register_dataset(...)`](https://www.tensorflow.org/api_docs/python/tf/data/experimental/service/register_dataset): Registers a dataset with the tf.data service.