Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::ops::DecodeCompressed::Attrs
#include <parsing_ops.h>
Optional attribute setters for DecodeCompressed.
Summary
Public functions
|
CompressionType(StringPiece x)
|
A scalar containing either (i) the empty string (no compression), (ii) "ZLIB", or (iii) "GZIP".
|
Public attributes
compression_type_
StringPiece tensorflow::ops::DecodeCompressed::Attrs::compression_type_ = ""
Public functions
CompressionType
TF_MUST_USE_RESULT Attrs tensorflow::ops::DecodeCompressed::Attrs::CompressionType(
StringPiece x
)
A scalar containing either (i) the empty string (no compression), (ii) "ZLIB", or (iii) "GZIP".
Defaults to ""
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::DecodeCompressed::Attrs Struct Reference\n\ntensorflow::ops::DecodeCompressed::Attrs\n========================================\n\n`#include \u003cparsing_ops.h\u003e`\n\nOptional attribute setters for [DecodeCompressed](/api_docs/cc/class/tensorflow/ops/decode-compressed#classtensorflow_1_1ops_1_1_decode_compressed).\n\nSummary\n-------\n\n| ### Public attributes ||\n|-------------------------------------------------------------------------------------------------------------------------|---------------|\n| [compression_type_](#structtensorflow_1_1ops_1_1_decode_compressed_1_1_attrs_1a7f8f41d913a4298bb9828f4064791216)` = \"\"` | `StringPiece` |\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [CompressionType](#structtensorflow_1_1ops_1_1_decode_compressed_1_1_attrs_1a3b096b03b678baf20a16ca63748cf254)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/api_docs/cc/struct/tensorflow/ops/decode-compressed/attrs#structtensorflow_1_1ops_1_1_decode_compressed_1_1_attrs) A scalar containing either (i) the empty string (no compression), (ii) \"ZLIB\", or (iii) \"GZIP\". |\n\nPublic attributes\n-----------------\n\n### compression_type_\n\n```carbon\nStringPiece tensorflow::ops::DecodeCompressed::Attrs::compression_type_ = \"\"\n``` \n\nPublic functions\n----------------\n\n### CompressionType\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::DecodeCompressed::Attrs::CompressionType(\n StringPiece x\n)\n``` \nA scalar containing either (i) the empty string (no compression), (ii) \"ZLIB\", or (iii) \"GZIP\".\n\nDefaults to \"\""]]