tensorflow:: אופס:: SparseAddGrad
#include <sparse_ops.h>אופרטור השיפוע עבור האופציה SparseAdd .
תַקצִיר
 האופציה SparseAdd מחשבת A + B, כאשר A, B והסכום מיוצגים כולם כאובייקטים SparseTensor . אופציה זו לוקחת את דרגת השיפוע במעלה הזרם עם ערכים לא ריקים של הסכום, ומוציאה את השיפועים מול הערכים הלא ריקים של A ו-B.
טיעונים:
- scope: אובייקט Scope
-  backprop_val_grad: 1-D עם צורה [nnz(sum)]. השיפוע ביחס לערכים הלא ריקים של הסכום.
-  a_indices: 2-D. indicesשלSparseTensorA, גודל[nnz(A), ndims].
-  b_indices: 2-D. indicesשלSparseTensorB, גודל[nnz(B), ndims].
-  סכום_מדדים: 2-D. indicesשל הסכוםSparseTensor, גודל[nnz(sum), ndims].
החזרות:
-  Outputa_val_grad: 1-D עם צורה[nnz(A)]. השיפוע ביחס לערכים הלא ריקים של A.
-  Outputb_val_grad: 1-D עם צורה[nnz(B)]. השיפוע ביחס לערכים הלא ריקים של B.
| בנאים והורסים | |
|---|---|
| SparseAddGrad (const :: tensorflow::Scope & scope, :: tensorflow::Input backprop_val_grad, :: tensorflow::Input a_indices, :: tensorflow::Input b_indices, :: tensorflow::Input sum_indices) | 
| תכונות ציבוריות | |
|---|---|
| a_val_grad | |
| b_val_grad | |
| operation | |
תכונות ציבוריות
a_val_grad
::tensorflow::Output a_val_grad
b_val_grad
::tensorflow::Output b_val_grad
מִבצָע
Operation operation
תפקידים ציבוריים
SparseAddGrad
SparseAddGrad( const ::tensorflow::Scope & scope, ::tensorflow::Input backprop_val_grad, ::tensorflow::Input a_indices, ::tensorflow::Input b_indices, ::tensorflow::Input sum_indices )
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
  
  
    
      [null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[],[]]