tensoreflusso:: ops:: LogSoftmax

#include <nn_ops.h>

Calcola le attivazioni softmax del registro.

Riepilogo

Per ogni batch i e classe j abbiamo

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

Argomenti:

  • scope: un oggetto Scope
  • logits: 2-D con forma [batch_size, num_classes] .

Ritorna:

  • Output : stessa forma dei logits .

Costruttori e distruttori

LogSoftmax (const :: tensorflow::Scope & scope, :: tensorflow::Input logits)

Attributi pubblici

logsoftmax
operation

Funzioni pubbliche

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

Attributi pubblici

logsoftmax

::tensorflow::Output logsoftmax

operazione

Operation operation

Funzioni pubbliche

LogSoftmax

 LogSoftmax(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input logits
)

nodo

::tensorflow::Node * node() const 

operatore::tensorflow::Input

 operator::tensorflow::Input() const 

operatore::tensorflow::Output

 operator::tensorflow::Output() const