টেনসরফ্লো :: অপস:: LogSoftmax

#include <nn_ops.h>

লগ সফটম্যাক্স অ্যাক্টিভেশন গণনা করে।

সারসংক্ষেপ

প্রতিটি ব্যাচ i এবং ক্লাস j এর জন্য আমাদের কাছে

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

যুক্তি:

  • স্কোপ: একটি স্কোপ অবজেক্ট
  • লগিট: 2-ডি আকৃতি সহ [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 

অপারেটর::টেনসরফ্লো::ইনপুট

 operator::tensorflow::Input() const 

অপারেটর::টেনসরফ্লো::আউটপুট

 operator::tensorflow::Output() const