Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
przepływ tensorowy:: ops:: Dekodowanie skompresowane:: Atrybuty
#include <parsing_ops.h>
Opcjonalne moduły ustawiające atrybuty dla DecodeCompressed .
Streszczenie
Funkcje publiczne |
---|
CompressionType (StringPiece x) | Skalar zawierający (i) pusty ciąg znaków (bez kompresji), (ii) „ZLIB” lub (iii) „GZIP”. |
Atrybuty publiczne
typ_kompresji_
StringPiece tensorflow::ops::DecodeCompressed::Attrs::compression_type_ = ""
Funkcje publiczne
Typ kompresji
TF_MUST_USE_RESULT Attrs tensorflow::ops::DecodeCompressed::Attrs::CompressionType(
StringPiece x
)
Skalar zawierający (i) pusty ciąg znaków (bez kompresji), (ii) „ZLIB” lub (iii) „GZIP”.
Domyślnie „”
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 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](/versions/r2.0/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](/versions/r2.0/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 \"\""]]