tensorflow::ops::LogSoftmax

#include <nn_ops.h>

Calcola le attivazioni log softmax.

Riepilogo

Per ogni lotto i e classe j abbiamo

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

Argomentazioni:

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

Resi:

  • Output : Stessa forma 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::tensoreflusso::output

 operator::tensorflow::Output() const