tensorflow:: ops:: SparseAddGrad

#include <sparse_ops.h>

عامل التدرج لعملية الجمع المتفرق .

ملخص

تحسب عملية SparseAdd مجموع A + B، حيث يتم تمثيل A وB والمجموع ككائنات SparseTensor . تأخذ هذه العملية تدرج المصدر بالنسبة للقيم غير الفارغة للمجموع، وتُخرج تدرجات المصدر بالنسبة للقيم غير الفارغة لـ A وB.

الحجج:

  • النطاق: كائن النطاق
  • backprop_val_grad: أحادي البعد ذو شكل [nnz(sum)] . التدرج بالنسبة للقيم غير الفارغة للمجموع.
  • a_indices: 2-D. indices SparseTensor A، الحجم [nnz(A), ndims] .
  • b_indices: 2-D. indices SparseTensor B، الحجم [nnz(B), ndims] .
  • sum_indices: 2-D. indices مجموع SparseTensor ، الحجم [nnz(sum), ndims] .

المرتجعات:

  • Output a_val_grad: أحادي البعد ذو شكل [nnz(A)] . التدرج بالنسبة للقيم غير الفارغة لـ A.
  • Output b_val_grad: أحادي البعد ذو شكل [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
)