tensorflow:: אופס:: LogSoftmax
#include <nn_ops.h>
מחשב הפעלת יומן softmax.
תַקצִיר
עבור כל אצווה i
ומחלקה j
יש לנו
logsoftmax[i, j] = logits[i, j] - log(sum(exp(logits[i])))
טיעונים:
- scope: אובייקט Scope
- logits: דו-ממדי עם צורה
[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 |
תכונות ציבוריות
logsoftmax
::tensorflow::Output logsoftmax
מִבצָע
Operation operation
תפקידים ציבוריים
LogSoftmax
LogSoftmax( const ::tensorflow::Scope & scope, ::tensorflow::Input logits )
צוֹמֶת
::tensorflow::Node * node() const
מפעיל::tensorflow::קלט
operator::tensorflow::Input() const
אופרטור::tensorflow::פלט
operator::tensorflow::Output() const