نشكرك على متابعة Google I / O. عرض جميع الجلسات عند الطلب مشاهدة عند الطلب

تينسورفلو :: العمليات :: LogSoftmax

#include <nn_ops.h>

يحسب سجل عمليات التنشيط softmax.

ملخص

لكل دفعة i والفئة j لدينا

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

الحجج:

  • النطاق: كائن النطاق
  • السجلات: 2-D مع الشكل [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 :: Output

 operator::tensorflow::Output() const