تدفق التوتر:: العمليات:: 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) |
الوظائف العامة | |
---|---|
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
)