tf.raw_ops.ShardedFilename
Создает имя сегментированного файла.
tf.raw_ops.ShardedFilename(
basename, shard, num_shards, name=None
)
Имя файла форматируется с помощью printf следующим образом:
%s-%05d-of-%05d, basename, shard, num_shards.
| Аргументы | |
|---|---|
basename | Tensor типа string. |
shard | Tensor типа int32. |
num_shards | Tensor типа int32. |
name | Имя операции (необязательно). |
| Возвращает | |
|---|---|
Tensor типа string. |
© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/raw_ops/ShardedFilename