Tensorflow :: ops :: LogSoftmax
#include <nn_ops.h>
Berechnet Protokoll-Softmax-Aktivierungen.
Zusammenfassung
Für jede Charge i
und Klasse j
wir
logsoftmax[i, j] = logits[i, j] - log(sum(exp(logits[i])))
Argumente:
- scope: Ein Scope- Objekt
- logits: 2-D mit Form
[batch_size, num_classes]
.
Kehrt zurück:
-
Output
: Gleiche Form wielogits
.
Konstruktoren und Destruktoren | |
---|---|
LogSoftmax (const :: tensorflow::Scope & scope, :: tensorflow::Input logits) |
Öffentliche Attribute | |
---|---|
logsoftmax | |
operation |
Öffentliche Funktionen | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Öffentliche Attribute
logsoftmax
::tensorflow::Output logsoftmax
Operation
Operation operation
Öffentliche Funktionen
LogSoftmax
LogSoftmax( const ::tensorflow::Scope & scope, ::tensorflow::Input logits )
Knoten
::tensorflow::Node * node() const
operator :: tensorflow :: Input
operator::tensorflow::Input() const
operator :: tensorflow :: Output
operator::tensorflow::Output() const