جریان تنسور:: عملیات:: DecodeRaw
#include <parsing_ops.h>
بایت های یک رشته را مجدداً به عنوان بردار اعداد تفسیر کنید.
خلاصه
استدلال ها:
ویژگی های اختیاری (به Attrs
مراجعه کنید):
- little_endian: اینکه آیا
bytes
ورودی به ترتیب کمی اند. برای مقادیر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
توابع استاتیک عمومی
لیتل اندیان
Attrs LittleEndian( bool x )