tensorflow:: ops:: הדפסה

#include <logging_ops.h>

מדפיס רשימה של טנזורים.

תַקצִיר

מעביר input output ומדפיס data בעת הערכה.

טיעונים:

  • היקף: אובייקט היקף
  • קלט: הטנזור המועבר output
  • נתונים: רשימת טנזורים להדפסה כאשר הפונקציה op מוערכת.

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

  • הודעה: מחרוזת, קידומת של הודעת השגיאה.
  • first_n: רישום first_n רק מספר פעמים. -1 מבטל רישום.
  • לסיכום: הדפס רק מספר זה של ערכים מכל טנזור.

החזרות:

  • Output : = טנזור input שלא עבר שינוי

בנאים והורסים

Print (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::InputList data)
Print (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::InputList data, const Print::Attrs & attrs)

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

operation
output

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

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

פונקציות סטטיות ציבוריות

FirstN (int64 x)
Message (StringPiece x)
Summarize (int64 x)

מבנים

tensorflow:: ops:: Print:: Attrs

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

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

מִבצָע

Operation operation

תְפוּקָה

::tensorflow::Output output

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

הֶדפֵּס

 Print(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::InputList data
)
 Print(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::InputList data,
  const Print::Attrs & attrs
)

צוֹמֶת

::tensorflow::Node * node() const 

אופרטור::tensorflow::קלט

 operator::tensorflow::Input() const 

אופרטור::tensorflow::פלט

 operator::tensorflow::Output() const 

פונקציות סטטיות ציבוריות

ראשון

Attrs FirstN(
  int64 x
)

הוֹדָעָה

Attrs Message(
  StringPiece x
)

לְסַכֵּם

Attrs Summarize(
  int64 x
)