tensorflow:: ops:: DecodeRaw

#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:: ops:: DecodeRaw:: Attrs

קובעי מאפיינים אופציונליים עבור DecodeRaw .

מאפיינים ציבוריים

מִבצָע

Operation operation

תְפוּקָה

::tensorflow::Output output

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

DecodeRaw

 DecodeRaw(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input bytes,
  DataType out_type
)

DecodeRaw

 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
)