Tensorflow :: ops :: SparseSparseMaximum
#include <sparse_ops.h>
Gibt das elementweise Maximum von zwei SparseTensoren zurück.
Zusammenfassung
Angenommen, die beiden SparseTensoren haben dieselbe Form, dh keine Übertragung.
Argumente:
- scope: Ein Scope- Objekt
- a_indices: 2-D.
N x R
Matrix mit den Indizes nicht leerer Werte in einem SparseTensor in der kanonischen lexikografischen Reihenfolge. - a_Werte: 1-D.
N
nicht leere Werte, diea_indices
entsprechen. - a_shape: 1-D. Form des eingegebenen SparseTensors.
- b_indices: Gegenstück zu
a_indices
für den anderen Operanden. - b_values: Gegenstück zu
a_values
für den anderen Operanden; muss vom gleichen Typ sein. - b_shape: Gegenstück zu
a_shape
für den anderen Operanden; Die beiden Formen müssen gleich sein.
Kehrt zurück:
-
Output
Ausgabeindizes: 2-D. Die Indizes der Ausgabe SparseTensor. -
Output
output_values: 1-D. Die Werte der Ausgabe SparseTensor.
Konstruktoren und Destruktoren | |
---|---|
SparseSparseMaximum (const :: tensorflow::Scope & scope, :: tensorflow::Input a_indices, :: tensorflow::Input a_values, :: tensorflow::Input a_shape, :: tensorflow::Input b_indices, :: tensorflow::Input b_values, :: tensorflow::Input b_shape) |
Öffentliche Attribute | |
---|---|
operation | |
output_indices | |
output_values |
Öffentliche Attribute
Operation
Operation operation
output_indices
::tensorflow::Output output_indices
Ausgabewerte
::tensorflow::Output output_values
Öffentliche Funktionen
SparseSparseMaximum
SparseSparseMaximum( const ::tensorflow::Scope & scope, ::tensorflow::Input a_indices, ::tensorflow::Input a_values, ::tensorflow::Input a_shape, ::tensorflow::Input b_indices, ::tensorflow::Input b_values, ::tensorflow::Input b_shape )