# tf.compat.v1.estimator.tpu.InputPipelineConfig

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/estimator/tree/master/tensorflow_estimator/python/estimator/tpu/tpu_config.py#L36-L51) |

Please see the definition of these values in TPUConfig. (deprecated)

    tf.compat.v1.estimator.tpu.InputPipelineConfig(
        *args, **kwargs
    )

<br />

## Migrate to TF2

<br />

> [!CAUTION]
> **Caution:** This API was designed for TensorFlow v1. Continue reading for details on how to migrate from this API to a native TensorFlow v2 equivalent. See the [TensorFlow v1 to TensorFlow v2 migration guide](https://www.tensorflow.org/guide/migrate) for instructions on how to migrate the rest of your code.

TPU Estimator manages its own TensorFlow graph and session, so it is not
compatible with TF2 behaviors. We recommend that you migrate to the newer
[`tf.distribute.TPUStrategy`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/distribute/TPUStrategy). See the
[TPU guide](https://www.tensorflow.org/guide/tpu) for details.

<br />

<br />

## Description

> [!WARNING]
> **Deprecated:** THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Use tf.keras instead.

<br />

<br />

<br />

| ## Class Variables ||
|---|---|
| BROADCAST | `4` |
| PER_HOST_V1 | `2` |
| PER_HOST_V2 | `3` |
| PER_SHARD_V1 | `1` |
| SLICED | `5` |

<br />