نشكرك على متابعة Google I / O. عرض جميع الجلسات عند الطلب مشاهدة عند الطلب

تينسورفلو :: العمليات :: DecodePaddedRaw

#include <parsing_ops.h>

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

ملخص

الحجج:

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

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

  • 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 :: Input

 operator::tensorflow::Input() const 

المشغل :: Tensorflow :: Output

 operator::tensorflow::Output() const 

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

LittleEndian

Attrs LittleEndian(
  bool x
)