تينسورفلو :: العمليات :: SparseAddGrad
#include <sparse_ops.h>
عامل التدرج لـ SparseAdd op.
ملخص
يحسب SparseAdd op A + B ، حيث يتم تمثيل كل من A و B SparseTensor
ككائنات SparseTensor
. يأخذ هذا المرجع قيمًا غير فارغة من التدرج اللوني في المنبع للمجمع ، ويخرج التدرجات اللونية للقيم غير الفارغة لـ A و B.
الحجج:
- النطاق: كائن النطاق
- backprop_val_grad: 1-D بالشكل
[nnz(sum)]
. التدرج اللوني فيما يتعلق بالقيم غير الفارغة للمجموع. - أ_المؤشرات: 2-د.
indices
SparseTensor
A ، الحجم[nnz(A), ndims]
. - ب_المؤشرات: 2-د.
indices
SparseTensor
B ، الحجم[nnz(B), ndims]
. - مجموع المؤشرات: 2-د.
indices
مجموعSparseTensor
، الحجم[nnz(sum), ndims]
.
عائدات:
-
Output
a_val_grad: 1-D بالشكل[nnz(A)]
. التدرج فيما يتعلق بالقيم غير الفارغة لـ A. -
Output
b_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 )
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-04-20 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Translation issue"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"مشكلة في العيّنات / التعليمات البرمجية"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]