tensorflow :: ops :: SparseAddGrad
#include <sparse_ops.h>
SparseAdd 작업에 대한 그래디언트 연산자입니다.
요약
SparseAdd 연산은 A + B를 계산합니다. 여기서 A, B 및 합계는 모두 SparseTensor
객체로 SparseTensor
됩니다. 이 연산은 합의 비어 있지 않은 값의 업스트림 그래디언트를 가져 와서 A와 B의 비어 있지 않은 값에 대한 그래디언트를 출력합니다.
인수 :
- 범위 : 범위 개체
- backprop_val_grad : 모양이
[nnz(sum)]
1-D. 합계의 비어 있지 않은 값에 대한 기울기입니다. - a_indices : 2-D.
SparseTensor
A의indices
, 크기[nnz(A), ndims]
. - b_indices : 2-D.
SparseTensor
B의indices
, 크기[nnz(B), ndims]
. - sum_indices : 2-D. 합계
SparseTensor
, 크기[nnz(sum), ndims]
의indices
입니다.
보고:
-
Output
a_val_grad : 1-D with shape[nnz(A)]
. A의 비어 있지 않은 값에 대한 기울기입니다. -
Output
b_val_grad : 모양이[nnz(B)]
1-D. 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 )