tensorflow:: אופס:: DecodePaddedRaw

#include <parsing_ops.h>

פרש מחדש את הבתים של מחרוזת כווקטור של מספרים.

סיכום

טיעונים:

  • scope: אובייקט Scope
  • input_bytes: טנסור של מחרוזת לפענוח.
  • fixed_length: אורך בבתים עבור כל רכיב של הפלט המפוענח. חייב להיות כפולה של הגודל של סוג הפלט.

מאפיינים אופציונליים (ראה Attrs ):

  • little_endian: האם הקלט input_bytes הוא בסדר little-endian. התעלמה עבור ערכי out_type המאוחסנים בבייט בודד, כמו uint8

החזרות:

  • Output : Tensor עם מימד אחד יותר מבייטי 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:: ops:: DecodePaddedRaw:: Attrs

קובעי תכונות אופציונליים עבור DecodePaddedRaw .

תכונות ציבוריות

מבצע

Operation operation

תְפוּקָה

::tensorflow::Output output

תפקידים ציבוריים

DecodePaddedRaw

 DecodePaddedRaw(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input_bytes,
  ::tensorflow::Input fixed_length,
  DataType out_type
)

DecodePaddedRaw

 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
)