tensorflow::ops::Softmax

#include <nn_ops.h>

Calcola le attivazioni softmax.

Riepilogo

Per ogni lotto i e classe j abbiamo

$$softmax[i, j] = exp(logits[i, j]) / sum_j(exp(logits[i, j]))$$

Argomentazioni:

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

Resi:

  • Output : Stessa forma logits .

Costruttori e distruttori

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

attributi pubblici

operation
softmax

Funzioni pubbliche

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

attributi pubblici

operazione

Operation operation

softmax

::tensorflow::Output softmax

Funzioni pubbliche

Softmax

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