tensorflow:: ops:: LogSoftmax

#include <nn_ops.h>

מחשב רישום הפעלות של softmax.

תַקצִיר

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

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

טיעונים:

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

החזרות:

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

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

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

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

logsoftmax
operation

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

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

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

לוגסופטמקס

::tensorflow::Output logsoftmax

מִבצָע

Operation operation

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

לוגסופטמקס

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

צוֹמֶת

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const