tensorflow::ops::EncodePng::Attrs
#include <image_ops.h>
Optional attribute setters for EncodePng.
Summary
Public attributes | |
---|---|
compression_ = -1 | int64 |
Public functions | |
---|---|
Compression(int64 x) | TF_MUST_USE_RESULT Attrs Compression level. |
Public attributes
compression_
int64 tensorflow::ops::EncodePng::Attrs::compression_ = -1
Public functions
Compression
TF_MUST_USE_RESULT Attrs tensorflow::ops::EncodePng::Attrs::Compression( int64 x )
Compression level.
Defaults to -1
© 2020 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/versions/r2.4/api_docs/cc/struct/tensorflow/ops/encode-png/attrs