tensorflow:: ops:: LogSoftmax
#include <nn_ops.h>Oblicza aktywacje log softmax.
Streszczenie
Dla każdej partii i i klasy j mamy
logsoftmax[i, j] = logits[i, j] - log(sum(exp(logits[i])))
Argumenty:
- zakres: obiekt zakresu
- logits: 2-D o kształcie
[batch_size, num_classes].
Zwroty:
-
Output: Taki sam kształt jaklogits.
Konstruktory i destruktory | |
|---|---|
LogSoftmax (const :: tensorflow::Scope & scope, :: tensorflow::Input logits) |
Atrybuty publiczne | |
|---|---|
logsoftmax | |
operation | |
Funkcje publiczne | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
Atrybuty publiczne
logsoftmax
::tensorflow::Output logsoftmax
działanie
Operation operation
Funkcje publiczne
LogSoftmax
LogSoftmax( const ::tensorflow::Scope & scope, ::tensorflow::Input logits )
węzeł
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const