tf.compat.v1.fixed_size_partitioner
Разделитель для задания фиксированного числа фрагментов по заданной оси.
tf.compat.v1.fixed_size_partitioner(
num_shards, axis=0
)
| Аргументы | |
|---|---|
num_shards | int, количество фрагментов для разбиения переменной. |
axis | int, ось для разбиения. |
| Возвращаемое значение | |
|---|---|
Функция разбиения, пригодная в качестве аргумента partitioner для variable_scope и get_variable. |
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.3/api_docs/python/tf/compat/v1/fixed_size_partitioner