tensorflow:: ops:: Softmax
#include <nn_ops.h>সফটম্যাক্স অ্যাক্টিভেশন গণনা করে।
সারসংক্ষেপ
প্রতিটি ব্যাচ i এবং ক্লাস j এর জন্য আমাদের আছে
$$softmax[i, j] = exp(logits[i, j]) / sum_j(exp(logits[i, j]))$$
যুক্তি:
- স্কোপ: একটি স্কোপ অবজেক্ট
- লজিটস: ২-ডি, যার আকৃতি
[batch_size, num_classes]।
ফেরত:
-
Output:logitsঅনুরূপ আকৃতি।
নির্মাতা এবং ধ্বংসকারী | |
|---|---|
Softmax (const :: tensorflow::Scope & scope, :: tensorflow::Input logits) |
জনসাধারণের বৈশিষ্ট্য | |
|---|---|
operation | |
softmax | |
জনসাধারণের কার্যাবলী | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
জনসাধারণের বৈশিষ্ট্য
অপারেশন
Operation operation
সফটম্যাক্স
::tensorflow::Output softmax
জনসাধারণের কার্যাবলী
সফটম্যাক্স
Softmax( const ::tensorflow::Scope & scope, ::tensorflow::Input logits )
নোড
::tensorflow::Node * node() const
অপারেটর::টেনসরফ্লো::ইনপুট
operator::tensorflow::Input() const
অপারেটর::টেনসরফ্লো::আউটপুট
operator::tensorflow::Output() const