przepływ tensorowy:: ops:: LogSoftmax

#include <nn_ops.h>

Oblicza aktywacje dziennika Softmax.

Streszczenie

Dla każdej partii i oraz klasy j mamy

logsoftmax[i, j] = logits[i, j] - log(sum(exp(logits[i])))

Argumenty:

  • zakres: Obiekt Scope
  • logity: 2-D z kształtem [batch_size, num_classes] .

Zwroty:

  • Output : Taki sam kształt jak logits .

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

operacja

Operation operation

Funkcje publiczne

LogSoftmax

 LogSoftmax(
  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