Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::ops::EncodePng::Attrs
#include <image_ops.h>
Optional attribute setters for EncodePng.
Summary
Public functions
|
Compression(int64 x)
|
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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2021-11-15 UTC.
[null,null,["Last updated 2021-11-15 UTC."],[],[],null,["# tensorflow::ops::EncodePng::Attrs Struct Reference\n\ntensorflow::ops::EncodePng::Attrs\n=================================\n\n`#include \u003cimage_ops.h\u003e`\n\nOptional attribute setters for [EncodePng](/api_docs/cc/class/tensorflow/ops/encode-png#classtensorflow_1_1ops_1_1_encode_png).\n\nSummary\n-------\n\n| ### Public attributes ||\n|-------------------------------------------------------------------------------------------------------------|---------|\n| [compression_](#structtensorflow_1_1ops_1_1_encode_png_1_1_attrs_1aeee9d1774127b1a08c7ba11e7f957707)` = -1` | `int64` |\n\n| ### Public functions ||\n|----------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Compression](#structtensorflow_1_1ops_1_1_encode_png_1_1_attrs_1a41f48d64661771f29f889cb7c45f64b5)`(int64 x)` | `TF_MUST_USE_RESULT `[Attrs](/api_docs/cc/struct/tensorflow/ops/encode-png/attrs#structtensorflow_1_1ops_1_1_encode_png_1_1_attrs) Compression level. |\n\nPublic attributes\n-----------------\n\n### compression_\n\n```scdoc\nint64 tensorflow::ops::EncodePng::Attrs::compression_ = -1\n``` \n\nPublic functions\n----------------\n\n### Compression\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::EncodePng::Attrs::Compression(\n int64 x\n)\n``` \nCompression level.\n\nDefaults to -1"]]