tf.fixed_size_partitioner

Partitioner to specify a fixed number of shards along given axis.

Compat aliases for migration

See Migration guide for more details.

tf.compat.v1.fixed_size_partitioner

num_shards int, number of shards to partition variable.
axis int, axis to partition on.

A partition function usable as the partitioner argument to variable_scope and get_variable.