# Module: tf.distribute.experimental.partitioners

<br />

Public API for tf.distribute.experimental.partitioners namespace.

## Classes

[`class FixedShardsPartitioner`](https://www.tensorflow.org/versions/r2.14/api_docs/python/tf/distribute/experimental/partitioners/FixedShardsPartitioner): Partitioner that allocates a fixed number of shards.

[`class MaxSizePartitioner`](https://www.tensorflow.org/versions/r2.14/api_docs/python/tf/distribute/experimental/partitioners/MaxSizePartitioner): Partitioner that keeps shards below `max_shard_bytes`.

[`class MinSizePartitioner`](https://www.tensorflow.org/versions/r2.14/api_docs/python/tf/distribute/experimental/partitioners/MinSizePartitioner): Partitioner that allocates a minimum size per shard.

[`class Partitioner`](https://www.tensorflow.org/versions/r2.14/api_docs/python/tf/distribute/experimental/partitioners/Partitioner): Partitioner base class: all partitiners inherit from this class.