tensorflow:: אופס:: SparseSegmentMean
#include <math_ops.h>
מחשב את הממוצע לאורך מקטעים דלילים של טנזור.
תַקצִיר
ראה tf.sparse.segment_sum
לדוגמאות שימוש.
כמו SegmentMean
, אבל segment_ids
יכול לקבל דירוג נמוך מהמאפיין הראשון של data
, בחירה בקבוצת משנה של מאפיין 0, שצוין על ידי indices
.
טיעונים:
- scope: אובייקט Scope
- מדדים: טנזור 1-D. בעל דירוג זהה לזה של
segment_ids
. - segment_ids: טנזור 1-D. יש למיין את הערכים וניתן לחזור עליהם.
החזרות:
-
Output
: בעל צורה זהה לנתונים, למעט ממד 0 שיש לו גודלk
, מספר המקטעים.
בנאים והורסים | |
---|---|
SparseSegmentMean (const :: tensorflow::Scope & scope, :: tensorflow::Input data, :: tensorflow::Input indices, :: tensorflow::Input segment_ids) |
תפקידים ציבוריים | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
תכונות ציבוריות
מִבצָע
Operation operation
תְפוּקָה
::tensorflow::Output output
תפקידים ציבוריים
SparseSegmentMean
SparseSegmentMean( const ::tensorflow::Scope & scope, ::tensorflow::Input data, ::tensorflow::Input indices, ::tensorflow::Input segment_ids )
צוֹמֶת
::tensorflow::Node * node() const
מפעיל::tensorflow::קלט
operator::tensorflow::Input() const
אופרטור::tensorflow::פלט
operator::tensorflow::Output() const