tensorflow:: אופס:: DecodeRaw

#include <parsing_ops.h>

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

סיכום

טיעונים:

  • scope: אובייקט Scope
  • bytes: כל האלמנטים חייבים להיות בעלי אותו אורך.

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

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

החזרות:

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