tensor akışı:: işlem:: Softmax
#include <nn_ops.h>Softmax aktivasyonlarını hesaplar.
Özet
Her parti i ve sınıf j için elimizdeki
$$softmax[i, j] = exp(logits[i, j]) / sum_j(exp(logits[i, j]))$$
Argümanlar:
- kapsam: Bir Kapsam nesnesi
- logitler:
[batch_size, num_classes]şeklinde 2 boyutlu.
İade:
-
Output:logitsile aynı şekil.
Yapıcılar ve Yıkıcılar | |
|---|---|
Softmax (const :: tensorflow::Scope & scope, :: tensorflow::Input logits) |
Genel özellikler | |
|---|---|
operation | |
softmax | |
Kamu işlevleri | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
Genel özellikler
operasyon
Operation operation
softmax
::tensorflow::Output softmax
Kamu işlevleri
Softmax
Softmax( const ::tensorflow::Scope & scope, ::tensorflow::Input logits )
düğüm
::tensorflow::Node * node() const
operatör::tensorflow::Giriş
operator::tensorflow::Input() const
operatör::tensorflow::Çıktı
operator::tensorflow::Output() const