tensorflow:: אופס:: DecodeCompressed

#include <parsing_ops.h>

דחוס מחרוזות.

סיכום

אופציה זו משחררת כל רכיב של קלט bytes Tensor , אשר מניחים שהוא דחוס באמצעות ה- compression_type הנתון.

output הוא מחרוזת Tensor בעלת אותה צורה כמו bytes , כל אלמנט מכיל את הנתונים המפורקים מהאלמנט המתאים bytes .

טיעונים:

  • scope: אובייקט Scope
  • bytes: Tensor של מחרוזת דחוסה.

מאפיינים אופציונליים (ראה Attrs ):

  • compression_type: סקלאר המכיל או (i) את המחרוזת הריקה (ללא דחיסה), (ii) "ZLIB", או (iii) "GZIP".

החזרות:

  • Output : טנסור עם אותה צורה כמו bytes קלט, לא דחוס מבייטים.

בנאים והורסים

DecodeCompressed (const :: tensorflow::Scope & scope, :: tensorflow::Input bytes)
DecodeCompressed (const :: tensorflow::Scope & scope, :: tensorflow::Input bytes, const DecodeCompressed::Attrs & attrs)

תכונות ציבוריות

operation
output

תפקידים ציבוריים

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

פונקציות סטטיות ציבוריות

CompressionType (StringPiece x)

מבנים

tensorflow:: ops:: DecodeCompressed:: Attrs

קובעי תכונות אופציונליים עבור DecodeCompressed .

תכונות ציבוריות

מבצע

Operation operation

תְפוּקָה

::tensorflow::Output output

תפקידים ציבוריים

DecodeCompressed

 DecodeCompressed(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input bytes
)

DecodeCompressed

 DecodeCompressed(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input bytes,
  const DecodeCompressed::Attrs & attrs
)

צוֹמֶת

::tensorflow::Node * node() const 

מפעיל::tensorflow::קלט

 operator::tensorflow::Input() const 

אופרטור::tensorflow::פלט

 operator::tensorflow::Output() const 

פונקציות סטטיות ציבוריות

CompressionType

Attrs CompressionType(
  StringPiece x
)