tensorflow:: عملیات:: LogSoftmax

#include <nn_ops.h>

محاسبه لاگ فعال‌سازی‌های softmax.

خلاصه

برای هر دسته i و کلاس j داریم

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

استدلال‌ها:

  • دامنه: یک شیء دامنه
  • 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

ویژگی‌های عمومی

لاگ‌سافت‌مکس

::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