tensorflow::ops::LogSoftmax
#include <nn_ops.h>Вычисляет логарифм активаций функции softmax.
Краткое содержание
Для каждой партии i и класса j у нас есть
logsoftmax[i, j] = logits[i, j] - log(sum(exp(logits[i])))
Аргументы:
- scope: Объект Scope
- логиты: двумерные с формой
[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::Input
operator::tensorflow::Input() const
оператор::tensorflow::Output
operator::tensorflow::Output() const