tensorflow:: אופס:: SparseSegmentSqrtN

#include <math_ops.h>

מחשב את הסכום לאורך מקטעים דלילים של טנזור חלקי sqrt של N.

סיכום

N הוא גודל הקטע המצטמצם.

ראה tf.sparse.segment_sum לדוגמאות שימוש.

טיעונים:

  • scope: אובייקט Scope
  • מדדים: טנזור 1-D. בעל דירוג זהה לזה של segment_ids .
  • segment_ids: טנזור 1-D. יש למיין את הערכים וניתן לחזור עליהם.

החזרות:

  • Output : בעל צורה זהה לנתונים, למעט ממד 0 שיש לו גודל k , מספר המקטעים.

בנאים והורסים

SparseSegmentSqrtN (const :: tensorflow::Scope & scope, :: tensorflow::Input data, :: tensorflow::Input indices, :: tensorflow::Input segment_ids)

תכונות ציבוריות

operation
output

תפקידים ציבוריים

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

תכונות ציבוריות

מבצע

Operation operation

תְפוּקָה

::tensorflow::Output output

תפקידים ציבוריים

SparseSegmentSqrtN

 SparseSegmentSqrtN(
  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