จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เทนเซอร์โฟลว์:: ปฏิบัติการ:: เข้ารหัสPng:: คุณสมบัติ
#include <image_ops.h>
ตัวตั้งค่าแอตทริบิวต์เพิ่มเติมสำหรับ EncodePng
สรุป
คุณลักษณะสาธารณะ
การบีบอัด_
int64 tensorflow::ops::EncodePng::Attrs::compression_ = -1
งานสาธารณะ
การบีบอัด
TF_MUST_USE_RESULT Attrs tensorflow::ops::EncodePng::Attrs::Compression(
int64 x
)
ระดับการบีบอัด
ค่าเริ่มต้นเป็น -1
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-27 UTC
[null,null,["อัปเดตล่าสุด 2025-07-27 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](/versions/r2.2/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](/versions/r2.2/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"]]