tensorflow:: عملیات:: DecodePaddedRaw
#include <parsing_ops.h>بایتهای یک رشته را به عنوان برداری از اعداد تفسیر مجدد کنید.
خلاصه
استدلالها:
- دامنه: یک شیء دامنه
- input_bytes: تانسور رشتهای که قرار است رمزگشایی شود.
- fixed_length: طول هر عنصر از خروجی رمزگشایی شده بر حسب بایت. باید مضربی از اندازه نوع خروجی باشد.
ویژگیهای اختیاری (به Attrs مراجعه کنید):
- little_endian: اینکه آیا ورودی
input_bytesبه ترتیب little-endian است یا خیر. برای مقادیر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:: عملیات:: DecodePaddedRaw:: جذابیتها | تنظیمکنندههای ویژگی اختیاری برای DecodePaddedRaw . |
ویژگیهای عمومی
عملیات
Operation operation
خروجی
::tensorflow::Output output
کارکردهای عمومی
دیکودپد راو
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 )
گره
::tensorflow::Node * node() const
عملگر::tensorflow::ورودی
operator::tensorflow::Input() const
عملگر::tensorflow::خروجی
operator::tensorflow::Output() const
توابع استاتیک عمومی
لیتل اندیان
Attrs LittleEndian( bool x )
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2026-11-05 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2026-11-05 بهوقت ساعت هماهنگ جهانی."],[],[]]