tf.compat.v1.fixed_size_partitioner
Partitioner to specify a fixed number of shards along given axis.
tf.compat.v1.fixed_size_partitioner(
num_shards, axis=0
)
Args |
num_shards
|
int , number of shards to partition variable.
|
axis
|
int , axis to partition on.
|
Returns |
A partition function usable as the partitioner argument to
variable_scope and get_variable .
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-10-01 UTC.
[null,null,["Last updated 2020-10-01 UTC."],[],[]]