tensorflow:: ops:: Softmax

#include <nn_ops.h>

מחשב הפעלות של סופטמקס.

תַקצִיר

עבור כל קבוצה i וקבוצה j יש לנו

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

טיעונים:

  • היקף: אובייקט היקף
  • לוגיטים: דו-ממדיים עם צורה [batch_size, num_classes] .

החזרות:

  • Output : אותה צורה כמו logits .

בנאים והורסים

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

מאפיינים ציבוריים

operation
softmax

תפקידים ציבוריים

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

מאפיינים ציבוריים

מִבצָע

Operation operation

סופטמקס

::tensorflow::Output softmax

תפקידים ציבוריים

סופטמקס

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

צוֹמֶת

::tensorflow::Node * node() const 

אופרטור::tensorflow::קלט

 operator::tensorflow::Input() const 

אופרטור::tensorflow::פלט

 operator::tensorflow::Output() const