tensorflow:: ops:: AddN
#include <math_ops.h>Dodaj wszystkie tensory wejściowe element po elemencie.
Streszczenie
Dane wejściowe muszą mieć ten sam rozmiar i kształt.
x = [9, 7, 10] tf.math.add_n(x) ==> 26
Argumenty:
- zakres: obiekt zakresu
Zwroty:
-
Output: tensor sumy.
Konstruktory i destruktory | |
|---|---|
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
działanie
Operation operation
suma
::tensorflow::Output sum
Funkcje publiczne
DodajN
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