Google I/O में ट्यूनिंग के लिए धन्यवाद। मांग पर सभी सत्र देखें मांग पर देखें

टेंसरफ़्लो :: ऑप्स :: LogSoftmax

#include <nn_ops.h>

कंप्यूट्स सॉफ्टमैक्स एक्टिविटीज को लॉग करता है।

सारांश

प्रत्येक बैच i और वर्ग j हमारे पास

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

तर्क:

  • गुंजाइश: एक स्कोप ऑब्जेक्ट
  • logits: 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

सार्वजनिक विशेषताएँ

Logoftmax

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