tensorflow:: ops:: 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:: 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
)