tensorflow:: אופס:: SparseSparseמקסימום

#include <sparse_ops.h>

מחזירה את המקסימום מבחינת האלמנט של שני SparseTensors.

סיכום

מניח שלשני SparseTensors יש את אותה צורה, כלומר, אין שידור.

טיעונים:

  • scope: אובייקט Scope
  • a_indices: 2-D. מטריצת N x R עם המדדים של ערכים לא ריקים ב-SparseTensor, בסדר הלקסיקוגרפי הקנוני.
  • a_values: 1-D. N ערכים לא ריקים התואמים ל- a_indices .
  • a_shape: 1-D. צורת הקלט SparseTensor.
  • b_indices: מקביל ל- a_indices עבור האופרנד האחר.
  • b_values: מקביל ל- a_values ​​עבור האופרנד האחר; חייב להיות מאותו dtype.
  • b_shape: מקבילה ל- a_shape עבור האופרנד השני; שתי הצורות חייבות להיות שוות.

החזרות:

  • Output פלט_מדדים: 2-D. המדדים של הפלט SparseTensor.
  • Output output_values: 1-D. הערכים של הפלט SparseTensor.

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

SparseSparseMaximum (const :: tensorflow::Scope & scope, :: tensorflow::Input a_indices, :: tensorflow::Input a_values, :: tensorflow::Input a_shape, :: tensorflow::Input b_indices, :: tensorflow::Input b_values, :: tensorflow::Input b_shape)

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

operation
output_indices
output_values

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

מבצע

Operation operation

output_indexe

::tensorflow::Output output_indices

output_values

::tensorflow::Output output_values

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

SparseSparseמקסימום

 SparseSparseMaximum(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input a_indices,
  ::tensorflow::Input a_values,
  ::tensorflow::Input a_shape,
  ::tensorflow::Input b_indices,
  ::tensorflow::Input b_values,
  ::tensorflow::Input b_shape
)