tensorflow:: אופס:: הדפס

#include <logging_ops.h>

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

סיכום

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

טיעונים:

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

מאפיינים אופציונליים (ראה 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:: הדפס:: Attrs

מגדירי תכונות אופציונליים עבור הדפסה .

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

מבצע

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 

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

FirstN

Attrs FirstN(
  int64 x
)

הוֹדָעָה

Attrs Message(
  StringPiece x
)

לְסַכֵּם

Attrs Summarize(
  int64 x
)