זרימת טנסור :: אופ :: כל
#include <math_ops.h>
מחשבת את ה"לוגי או "האלמנטים על פני ממדים של טנסור.
סיכום
מפחית input
לאורך המידות הנתונות axis
. אלא אם כן keep_dims
נכון, דרגת הטנסור מופחתת ב -1 לכל כניסה axis
. אם keep_dims
נכון, הממדים המופחתים נשמרים לאורך 1.
טענות:
- היקף: אובייקט Scope
- קלט: המתח להפחתה.
- ציר: המידות לצמצום. חייב להיות בטווח
[-rank(input), rank(input))
.
תכונות אופציונליות (ראה Attrs
):
- keep_dims: אם נכון, שמור על מידות מופחתות לאורך 1.
החזרות:
-
Output
: הטנסור המופחת.
כינויים:
- להפחית כל
קונסטרוקטורים ומשחתנים | |
---|---|
Any (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input axis) | |
Any (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input axis, const Any::Attrs & attrs) |
תכונות ציבוריות | |
---|---|
operation | |
output |
פונקציות ציבוריות | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
פונקציות סטטיות ציבוריות | |
---|---|
KeepDims (bool x) |
סטרוקטורים | |
---|---|
tensorflow :: ops :: כל דבר :: Attrs | קובעי תכונות אופציונליים לכל אחד . |
תכונות ציבוריות
מבצע
Operation operation
תְפוּקָה
::tensorflow::Output output
פונקציות ציבוריות
כל
Any( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input axis )
כל
Any( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input axis, const Any::Attrs & attrs )
צוֹמֶת
::tensorflow::Node * node() const
אופרטור :: זרימת טנסור :: קלט
operator::tensorflow::Input() const
אופרטור :: זרימת טנסור :: פלט
operator::tensorflow::Output() const
פונקציות סטטיות ציבוריות
KeepDims
Attrs KeepDims( bool x )
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2020-06-29 (שעון UTC).
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"חסרים לי מידע או פרטים"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"התוכן מורכב מדי או עם יותר מדי שלבים"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"התוכן לא עדכני"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"בעיה בתרגום"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"בעיה בדוגמאות/בקוד"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"סיבה אחרת"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"התוכן קל להבנה"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"התוכן עזר לי לפתור בעיה"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"סיבה אחרת"
}]