تدفق التوتر:: العمليات:: فك التشفير

#include <parsing_ops.h>

فك ضغط السلاسل.

ملخص

تعمل هذه العملية على فك ضغط كل عنصر من عناصر Tensor التي يتم إدخالها bytes ، والتي من المفترض أن يتم ضغطها باستخدام compression_type المحدد.

output عبارة عن سلسلة Tensor لها نفس شكل bytes ، حيث يحتوي كل عنصر على البيانات التي تم فك ضغطها من العنصر المقابل bytes .

الحجج:

السمات الاختيارية (انظر Attrs ):

  • نوع الضغط: حجم عددي يحتوي إما على (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(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input bytes
)

فك التشفير

 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 

وظائف ثابتة العامة

نوع الضغط

Attrs CompressionType(
  StringPiece x
)