tensorflow:: אופס:: SparseDenseCwiseMul
#include <sparse_ops.h>
מבחינת רכיב מכפיל SparseTensor בטנסור צפוף.
תַקצִיר
מיקומי הפלט המתאימים לאלמנטים האפסים המשתמעים בטנזור הדליל יהיו אפס (כלומר, לא יתפסו מקום אחסון), ללא קשר לתוכן הטנזור הצפוף (גם אם זה +/-INF ו-INF*0 == NaN).
הגבלה : האופ הזה משדר רק את הצד הצפוף לצד הדליל, אבל לא לכיוון השני.
טיעונים:
- scope: אובייקט Scope
- sp_indices: 2-D. מטריצת
N x R
עם המדדים של ערכים לא ריקים ב-SparseTensor, אולי לא בסדר קנוני. - sp_values: 1-D.
N
ערכים לא ריקים התואמים ל-sp_indices
. - sp_shape: 1-D. צורת הקלט SparseTensor.
- צפוף:
R
-D. אופרנד טנסור הצפוף.
החזרות:
-
Output
: 1-D. ערכיN
המנותחים.
בנאים והורסים | |
---|---|
SparseDenseCwiseMul (const :: tensorflow::Scope & scope, :: tensorflow::Input sp_indices, :: tensorflow::Input sp_values, :: tensorflow::Input sp_shape, :: tensorflow::Input dense) |
תפקידים ציבוריים | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
תכונות ציבוריות
מִבצָע
Operation operation
תְפוּקָה
::tensorflow::Output output
תפקידים ציבוריים
SparseDenseCwiseMul
SparseDenseCwiseMul( const ::tensorflow::Scope & scope, ::tensorflow::Input sp_indices, ::tensorflow::Input sp_values, ::tensorflow::Input sp_shape, ::tensorflow::Input dense )
צוֹמֶת
::tensorflow::Node * node() const
מפעיל::tensorflow::קלט
operator::tensorflow::Input() const
אופרטור::tensorflow::פלט
operator::tensorflow::Output() const