tensorflow:: ops:: DecodeRaw

#include <parsing_ops.h>

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

ملخص

الحجج:

  • النطاق: كائن النطاق
  • البايتات: يجب أن يكون لجميع العناصر نفس الطول.

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

  • little_endian: ما إذا كانت bytes الإدخال مرتبة بنظام little-endian. يتم تجاهل هذا الخيار لقيم out_type المخزنة في بايت واحد مثل uint8 .

المرتجعات:

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

البناة والمدمرون

DecodeRaw (const :: tensorflow::Scope & scope, :: tensorflow::Input bytes, DataType out_type)
DecodeRaw (const :: tensorflow::Scope & scope, :: tensorflow::Input bytes, DataType out_type, const DecodeRaw::Attrs & attrs)

السمات العامة

operation
output

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

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

الدوال الثابتة العامة

LittleEndian (bool x)

الهياكل

tensorflow:: ops:: DecodeRaw:: Attrs

مُعدِّلات السمات الاختيارية لـ DecodeRaw .

السمات العامة

عملية

Operation operation

المخرجات

::tensorflow::Output output

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

فك التشفير الخام

 DecodeRaw(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input bytes,
  DataType out_type
)

فك التشفير الخام

 DecodeRaw(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input bytes,
  DataType out_type,
  const DecodeRaw::Attrs & attrs
)

العقدة

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

الدوال الثابتة العامة

ليتل إنديان

Attrs LittleEndian(
  bool x
)