#include <image_ops.h>
Optional attribute setters for DecodePng.
Public attributes | |
---|---|
channels_ = 0 | int64 |
dtype_ = DT_UINT8 | DataType |
Public functions | |
---|---|
Channels(int64 x) | TF_MUST_USE_RESULT Attrs Number of color channels for the decoded image. |
Dtype(DataType x) | TF_MUST_USE_RESULT Attrs Defaults to DT_UINT8. |
int64 tensorflow::ops::DecodePng::Attrs::channels_ = 0
DataType tensorflow::ops::DecodePng::Attrs::dtype_ = DT_UINT8
TF_MUST_USE_RESULT Attrs tensorflow::ops::DecodePng::Attrs::Channels( int64 x )
Number of color channels for the decoded image.
Defaults to 0
TF_MUST_USE_RESULT Attrs tensorflow::ops::DecodePng::Attrs::Dtype( DataType x )
Defaults to DT_UINT8.
© 2018 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/api_docs/cc/struct/tensorflow/ops/decode-png/attrs.html