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

#include <parsing_ops.h>

إعادة تفسير بايتات السلسلة كمتجه للأرقام.

ملخص

الحجج:

  • النطاق: كائن النطاق
  • input_bytes: موتر السلسلة المراد فك تشفيرها.
  • Fixed_length: الطول بالبايتات لكل عنصر من عناصر الإخراج التي تم فك تشفيرها. يجب أن يكون مضاعفًا لحجم نوع الإخراج.

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

  • little_endian: ما إذا كانت وحدات الإدخال input_bytes بترتيب النهاية الصغيرة. يتم تجاهله بالنسبة لقيم out_type المخزنة في بايت واحد، مثل uint8

عائدات:

  • Output : موتر ذو بعد واحد أكثر من bytes الإدخال. سيكون للبعد المضاف حجم يساوي طول عناصر bytes مقسومًا على عدد البايتات لتمثيل out_type .

البنائين والمدمرين

DecodePaddedRaw (const :: tensorflow::Scope & scope, :: tensorflow::Input input_bytes, :: tensorflow::Input fixed_length, DataType out_type)
DecodePaddedRaw (const :: tensorflow::Scope & scope, :: tensorflow::Input input_bytes, :: tensorflow::Input fixed_length, DataType out_type, const DecodePaddedRaw::Attrs & attrs)

الصفات العامة

operation
output

الوظائف العامة

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

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

LittleEndian (bool x)

الهياكل

Tensorflow:: ops:: DecodePaddedRaw:: Attrs

محددات السمات الاختيارية لـ DecodePaddedRaw .

الصفات العامة

عملية

Operation operation

انتاج

::tensorflow::Output output

الوظائف العامة

DecodePaddedRaw

 DecodePaddedRaw(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input_bytes,
  ::tensorflow::Input fixed_length,
  DataType out_type
)

DecodePaddedRaw

 DecodePaddedRaw(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input_bytes,
  ::tensorflow::Input fixed_length,
  DataType out_type,
  const DecodePaddedRaw::Attrs & attrs
)

العقدة

::tensorflow::Node * node() const 

المشغل::tensorflow::الإدخال

 operator::tensorflow::Input() const 

المشغل::tensorflow::الإخراج

 operator::tensorflow::Output() const 

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

LittleEndian

Attrs LittleEndian(
  bool x
)