tensorflow :: ops :: AddN
#include <math_ops.h>
Dodaj wszystkie elementy tensorów wejściowych.
streszczenie
Wejścia muszą mieć ten sam rozmiar i kształt.
x = [9, 7, 10] tf.math.add_n(x) ==> 26
Argumenty:
- zakres: obiekt Scope
Zwroty:
-
Output
: suma tensora.
Konstruktorzy i niszczyciele | |
---|---|
AddN (const :: tensorflow::Scope & scope, :: tensorflow::InputList inputs) |
Atrybuty publiczne | |
---|---|
operation | |
sum |
Funkcje publiczne | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Atrybuty publiczne
operacja
Operation operation
suma
::tensorflow::Output sum
Funkcje publiczne
AddN
AddN( const ::tensorflow::Scope & scope, ::tensorflow::InputList inputs )
węzeł
::tensorflow::Node * node() const
operator :: tensorflow :: Input
operator::tensorflow::Input() const
operator :: tensorflow :: Output
operator::tensorflow::Output() const