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
)