tensorflow:: אופס:: מקסימום
#include <math_ops.h>
מחשב את המקסימום של אלמנטים על פני ממדים של טנזור.
תַקצִיר
מפחית input
לאורך הממדים הניתנים axis
. אלא אם כן keep_dims
נכון, דירוג הטנזור מופחת ב-1 עבור כל כניסה axis
. אם keep_dims
נכון, הממדים המופחתים נשמרים עם אורך 1.
טיעונים:
- scope: אובייקט Scope
- קלט: הטנזור להפחתה.
- ציר: הממדים שיש להקטין. חייב להיות בטווח
[-rank(input), rank(input))
.
מאפיינים אופציונליים (ראה Attrs
):
- keep_dims: אם נכון, שמור על מידות מופחתות עם אורך 1.
החזרות:
-
Output
: הטנזור המופחת.
כינויים:
- ReduceMax
בנאים והורסים | |
---|---|
Max (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input axis) | |
Max (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input axis, const Max::Attrs & attrs) |
תפקידים ציבוריים | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
מבנים | |
---|---|
tensorflow:: ops:: מקסימום:: Attrs | קובעי תכונות אופציונליים עבור מקסימום . |
תכונות ציבוריות
מִבצָע
Operation operation
תְפוּקָה
::tensorflow::Output output
תפקידים ציבוריים
מקסימום
Max(
const ::tensorflow::Scope & scope,
::tensorflow::Input input,
::tensorflow::Input axis
)
מקסימום
Max(
const ::tensorflow::Scope & scope,
::tensorflow::Input input,
::tensorflow::Input axis,
const Max::Attrs & attrs
)
צוֹמֶת
::tensorflow::Node * node() const
מפעיל::tensorflow::קלט
operator::tensorflow::Input() const
אופרטור::tensorflow::פלט
operator::tensorflow::Output() const
פונקציות סטטיות ציבוריות
KeepDims
Attrs KeepDims(
bool x
)