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