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 )
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2026-11-05 (שעון UTC).
[null,null,["עדכון אחרון: 2026-11-05 (שעון UTC)."],[],[]]