W3cubDocs

/TensorFlow C++

tensorflow::ops::DecodeCompressed::Attrs

#include <parsing_ops.h>

Optional attribute setters for DecodeCompressed.

Summary

Public attributes
compression_type_ = ""
StringPiece
Public functions
CompressionType(StringPiece x)
TF_MUST_USE_RESULT Attrs
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 ""

© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/struct/tensorflow/ops/decode-compressed/attrs.html