tf.raw_ops.WriteImageSummary
Запись изображения в сводку.
tf.raw_ops.WriteImageSummary(
writer, step, tag, tensor, bad_color, max_images=3, name=None
)
Записывает изображение tensor в step с tag используя сводку writer. tensor — изображение с формой [высота, ширина, каналы].
| Аргументы | |
|---|---|
writer | A Tensor типа resource. |
step | A Tensor типа int64. |
tag | A Tensor типа string. |
tensor | A Tensor. Должно быть одного из следующих типов: uint8, float32, half. |
bad_color | A Tensor типа uint8. |
max_images | Необязательный int, который >= 1. По умолчанию 3. |
name | Имя операции (необязательно). |
| Возвращаемое значение | |
|---|---|
| Созданная операция. |
© 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.4/api_docs/python/tf/raw_ops/WriteImageSummary