tensorflow::ops::DecodePng::Attrs
#include <image_ops.h>
Дополнительные параметры для DecodePng.
Краткое описание
| Общедоступные атрибуты | |
|---|---|
channels_ = 0 | int64 |
dtype_ = DT_UINT8 | DataType |
| Общедоступные функции | |
|---|---|
Channels(int64 x) | TF_MUST_USE_RESULT Attrs Количество цветовых каналов декодированного изображения. |
Dtype(DataType x) | TF_MUST_USE_RESULT Attrs По умолчанию DT_UINT8. |
Общедоступные атрибуты
channels_
int64 tensorflow::ops::DecodePng::Attrs::channels_ = 0
dtype_
DataType tensorflow::ops::DecodePng::Attrs::dtype_ = DT_UINT8
Общедоступные функции
Каналы
TF_MUST_USE_RESULT Attrs tensorflow::ops::DecodePng::Attrs::Channels( int64 x )
Количество цветовых каналов декодированного изображения.
По умолчанию 0
Тип данных
TF_MUST_USE_RESULT Attrs tensorflow::ops::DecodePng::Attrs::Dtype( DataType x )
По умолчанию DT_UINT8.
© 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/cc/struct/tensorflow/ops/decode-png/attrs