רישום פעולות
תַקצִיר
משתנים | |
|---|---|
 Arguments | audio **If max_outputs is greater the summary value tags are *generated sequentially as *tag *tag etc ** | 
 audio | audio **If max_outputs is greater the summary value tags are *generated sequentially as *tag * | 
 bad_color_ = Input::Initializer({255, 0, 0, 255}, {4}).AsTensorProto() | TensorProto | 
 image | image **If max_images is greater the summary value tags are *generated sequentially as *tag * | 
 max_images_ = 3 | int64 | 
 max_outputs_ = x | ret | 
 operation | Operation | 
 ret | return | 
 sample_rate | audio **If max_outputs is greater the summary value tags are *generated sequentially as *tag *tag etc frames ** | 
 summary | |
 than | audio **If max_outputs is greater מוציא מאגר פרוטוקול  Summary עם אודיו.  | 
פונקציות | |
|---|---|
 AudioSummary (const :: tensorflow::Scope & scope, :: tensorflow::Input tag, :: tensorflow::Input tensor, :: tensorflow::Input sample_rate) | |
 AudioSummary (const :: tensorflow::Scope & scope, :: tensorflow::Input tag, :: tensorflow::Input tensor, :: tensorflow::Input sample_rate, const AudioSummary::Attrs & attrs) | |
 BadColor (const TensorProto & x) | TF_MUST_USE_RESULT Attrs צבע לשימוש עבור פיקסלים עם ערכים לא סופיים.  | 
 ImageSummary (const :: tensorflow::Scope & scope, :: tensorflow::Input tag, :: tensorflow::Input tensor) | |
 ImageSummary (const :: tensorflow::Scope & scope, :: tensorflow::Input tag, :: tensorflow::Input tensor, const ImageSummary::Attrs & attrs) | |
 MaxImages (int64 x) | Attrs | 
 MaxOutputs (int64 x) | Attrs | 
 node () const | ::tensorflow::Node * | 
 range (It represents the value of a *pixel in the output image).Non-finite values in the input tensor are *replaced by this tensor in the output image.The default value is the color *red.**Arguments | image **If max_images is greater the summary value tags are *generated sequentially as *tag *tag etc **The bad_color argument is the color to use in the generated images for *non finite input values It is a uint8 D tensor of length channels *Each element must be in the מספר מקסימלי של רכיבי אצווה ליצירת תמונות עבורם.   | 
שיעורים | |
|---|---|
| tensorflow:: ops:: טען | טוען שהתנאי הנתון נכון.  | 
| tensorflow:: ops:: HistogramSummary |  פלט מאגר פרוטוקול   | 
| tensorflow:: ops:: MergeSummary | ממזג סיכומים.  | 
| tensorflow:: ops:: הדפס | מדפיס רשימה של טנסורים.  | 
| tensorflow:: ops:: PrintV2 | מדפיס מחרוזת סקלרית.  | 
| tensorflow:: ops:: ScalarSummary |  פלט מאגר פרוטוקול   | 
| tensorflow:: ops:: TensorSummary |  פלט מאגר פרוטוקול   | 
| tensorflow:: ops:: TensorSummaryV2 |  פלט מאגר פרוטוקול   | 
| tensorflow:: ops:: חותמת זמן | מספק את הזמן מאז התקופה בשניות.  | 
משתנים
טיעונים
audio **If max_outputs is greater the summary value tags are *generated sequentially as *tag *tag etc ** Argumentsשֶׁמַע
audio **If max_outputs is greater the summary value tags are *generated sequentially as *tag * audioרע_צבע_
TensorProto bad_color_ = Input::Initializer({255, 0, 0, 255}, {4}).AsTensorProto()תְמוּנָה
image **If max_images is greater the summary value tags are *generated sequentially as *tag * imageמקסימום_תמונות_
int64 max_images_ = 3
max_outputs_
ret max_outputs_ = x
מִבצָע
Operation operation
לְהַשְׁרוֹת
return ret
sample_rate
audio **If max_outputs is greater the summary value tags are *generated sequentially as *tag *tag etc frames ** sample_rateתַקצִיר
::tensorflow::Output summary
מֵאֲשֶׁר
audio **If max_outputs is greater than
מוציא מאגר פרוטוקול Summary עם אודיו.
 פלט מאגר פרוטוקול Summary עם תמונות.
 לסיכום יש עד max_outputs ערכי סיכום המכילים אודיו. האודיו בנוי tensor שחייב להיות תלת-ממדי עם צורה [batch_size, frames, channels] או דו מימדי עם צורה [batch_size, frames] . ההנחה היא שהערכים נמצאים בטווח של [-1.0, 1.0] עם קצב דגימה של sample_rate .
 ארגומנט tag הוא Tensor סקלרי מסוג string . הוא משמש לבניית tag של ערכי הסיכום:
-  אם 
max_outputsהוא 1, תג ערך הסיכום הוא '*tag 
 לסיכום יש עד max_images ערכי סיכום המכילים תמונות. התמונות בנויות tensor שחייב להיות 4-D עם צורה [batch_size, height, width, channels] והיכן channels יכולים להיות:
-  1: 
tensorמתפרש כגווני אפור. -  3: 
tensorמתפרש כ-RGB. -  4: 
tensorמתפרש כ-RGBA. 
 לתמונות יש אותו מספר ערוצים כמו טנזור הקלט. עבור קלט צף, הערכים מנורמלים תמונה אחת בכל פעם כדי להתאים לטווח [0, 255] . ערכי uint8 אינם משתנים. האופ משתמש בשני אלגוריתמי נורמליזציה שונים:
- אם ערכי הקלט כולם חיוביים, הם מותאמים מחדש כך שהגדול ביותר הוא 255.
 - אם ערך קלט כלשהו הוא שלילי, הערכים מוזזים כך שערך הקלט 0.0 הוא 127. לאחר מכן הם מותאמים מחדש כך שהערך הקטן ביותר הוא 0, או הגדול ביותר הוא 255.
 
 ארגומנט tag הוא Tensor סקלרי מסוג string . הוא משמש לבניית tag של ערכי הסיכום:
-  אם 
max_imagesהוא 1, תג ערך הסיכום הוא '*tag 
פונקציות
סיכום אודיו
AudioSummary( const ::tensorflow::Scope & scope, ::tensorflow::Input tag, ::tensorflow::Input tensor, ::tensorflow::Input sample_rate )
סיכום אודיו
AudioSummary( const ::tensorflow::Scope & scope, ::tensorflow::Input tag, ::tensorflow::Input tensor, ::tensorflow::Input sample_rate, const AudioSummary::Attrs & attrs )
BadColor
TF_MUST_USE_RESULT Attrs BadColor( const TensorProto & x )
צבע לשימוש עבור פיקסלים עם ערכים לא סופיים.
 ברירת המחדל היא Tensor 
סיכום תמונה
ImageSummary( const ::tensorflow::Scope & scope, ::tensorflow::Input tag, ::tensorflow::Input tensor )
סיכום תמונה
ImageSummary( const ::tensorflow::Scope & scope, ::tensorflow::Input tag, ::tensorflow::Input tensor, const ImageSummary::Attrs & attrs )
MaxImages
Attrs MaxImages( int64 x )
Maxoutputs
Attrs MaxOutputs( int64 x )
צוֹמֶת
::tensorflow::Node * node() const
לָנוּעַ
image **If max_images is greater the summary value tags are *generated sequentially as *tag *tag etc **The bad_color argument is the color to use in the generated images for *non finite input values It is a uint8 D tensor of length channels *Each element must be in the range( It represents the value of a *pixel in the output image ).Non-finite values in the input tensor are *replaced by this tensor in the output image.The default value is the color *red.**Arguments
מספר מקסימלי של רכיבי אצווה ליצירת תמונות עבורם.
ברירת המחדל היא 3
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-27 (שעון UTC).