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

#include <parsing_ops.h>

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

ملخص

الحجج:

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

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

  • little_endian: ما إذا كانت bytes الإدخال بترتيب 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

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

DecodeRaw

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

العقدة

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const 

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

LittleEndian

Attrs LittleEndian(
  bool x
)