# tf.compat.v1.tpu.PaddingSpec

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.13.1/tensorflow/python/tpu/tpu.py#L222-L229) |

Represents the type of padding policies for tpu.replicate.

<br />

<br />

<br />

| ## Class Variables ||
|---|---|
| AUTO | `<PaddingSpec.AUTO: 0>` |
| POWER_OF_TWO | `<PaddingSpec.POWER_OF_TWO: 1>` |

<br />