Tensorflow :: ops :: SparseFillEmptyRowsGrad
#include <sparse_ops.h>
Der Gradient von SparseFillEmptyRows .
Zusammenfassung
Nimmt Vektoren reverse_index_map, geformt [N]
und grad_values, geformt [N_full]
, wobei N_full >= N
und kopiert Daten entweder in d_values
oder d_default_value
. Hier ist d_values
geformt [N]
und d_default_value
ist ein Skalar.
d_values [j] = grad_values [reverse_index_map [j]] d_default_value = sum_ {k: 0 .. N_full - 1} (grad_values [k] * 1 {k nicht in reverse_index_map})
Argumente:
- scope: Ein Scope- Objekt
- reverse_index_map: 1-D. Die umgekehrte Indexzuordnung von SparseFillEmptyRows .
- grad_values: 1-D. Die Farbverläufe von backprop.
Kehrt zurück:
-
Output
d_values: 1-D. Das Backprop in Werte. -
Output
d_default_value: 0-D. Das Backprop in default_value.
Konstruktoren und Destruktoren | |
---|---|
SparseFillEmptyRowsGrad (const :: tensorflow::Scope & scope, :: tensorflow::Input reverse_index_map, :: tensorflow::Input grad_values) |
Öffentliche Attribute | |
---|---|
d_default_value | |
d_values | |
operation |
Öffentliche Attribute
d_default_value
::tensorflow::Output d_default_value
d_values
::tensorflow::Output d_values
Operation
Operation operation
Öffentliche Funktionen
SparseFillEmptyRowsGrad
SparseFillEmptyRowsGrad( const ::tensorflow::Scope & scope, ::tensorflow::Input reverse_index_map, ::tensorflow::Input grad_values )