tensorflow:: عملیات:: رمزگشایی

#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:: عملیات:: DecodeRaw:: جذابیت‌ها

تنظیم‌کننده‌های ویژگی اختیاری برای 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 

عملگر::tensorflow::ورودی

 operator::tensorflow::Input() const 

عملگر::tensorflow::خروجی

 operator::tensorflow::Output() const 

توابع استاتیک عمومی

لیتل اندیان

Attrs LittleEndian(
  bool x
)