tensorflow :: ops :: Tutti
#include <math_ops.h>
Calcola la "logica e" degli elementi attraverso le dimensioni di un tensore.
Sommario
Riduce l' input
lungo le dimensioni date in axis
. A meno che keep_dims
non sia vero, il rango del tensore viene ridotto di 1 per ogni voce axis
. Se keep_dims
è true, le dimensioni ridotte vengono mantenute con la lunghezza 1.
Argomenti:
- scope: un oggetto Scope
- input: il tensore da ridurre.
- asse: le dimensioni da ridurre. Deve essere compreso nell'intervallo
[-rank(input), rank(input))
.
Attributi opzionali (vedi Attrs
):
- keep_dims: se true, conserva le dimensioni ridotte con la lunghezza 1.
Ritorna:
-
Output
: il tensore ridotto.
Alias:
- ReduceAll
Costruttori e distruttori | |
---|---|
All (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input axis) | |
All (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input axis, const All::Attrs & attrs) |
Attributi pubblici | |
---|---|
operation | |
output |
Funzioni pubbliche | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Funzioni statiche pubbliche | |
---|---|
KeepDims (bool x) |
Structs | |
---|---|
tensorflow :: ops :: All :: Attrs | Setter attributi opzionali per Tutti . |
Attributi pubblici
operazione
Operation operation
produzione
::tensorflow::Output output
Funzioni pubbliche
Tutti
All( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input axis )
Tutti
All( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input axis, const All::Attrs & attrs )
nodo
::tensorflow::Node * node() const
operator :: tensorflow :: Input
operator::tensorflow::Input() const
operator :: tensorflow :: Output
operator::tensorflow::Output() const
Funzioni statiche pubbliche
KeepDims
Attrs KeepDims( bool x )