tensorflow:: ops:: Softmax
#include <nn_ops.h>Oblicza aktywacje softmax.
Streszczenie
Dla każdej partii i oraz klasy j mamy
$$softmax[i, j] = exp(logits[i, j]) / sum_j(exp(logits[i, j]))$$
Argumenty:
- zakres: Obiekt Scope
- logity: 2-D z kształtem
[batch_size, num_classes].
Zwroty:
-
Output: Taki sam kształt jaklogits.
Konstruktory i destruktory | |
|---|---|
Softmax (const :: tensorflow::Scope & scope, :: tensorflow::Input logits) |
Atrybuty publiczne | |
|---|---|
operation | |
softmax | |
Funkcje publiczne | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
Atrybuty publiczne
działanie
Operation operation
softmax
::tensorflow::Output softmax
Funkcje publiczne
Softmax
Softmax( const ::tensorflow::Scope & scope, ::tensorflow::Input logits )
węzeł
::tensorflow::Node * node() const
operator::tensorflow::Wejście
operator::tensorflow::Input() const
operator::tensorflow::Wyjście
operator::tensorflow::Output() const