tensorflow::ops::Softmax
#include <nn_ops.h>Softmax aktivasyonlarını hesaplar.
Özet
Her bir i . grup ve j sınıf için şunlara sahibiz:
$$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.
İadeler:
-
Output:logitsaynı şekil.
Yapıcılar ve Yıkıcılar | |
|---|---|
Softmax (const :: tensorflow::Scope & scope, :: tensorflow::Input logits) |
Genel özellikler | |
|---|---|
operation | |
softmax | |
Kamusal işlevler | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
Genel özellikler
operasyon
Operation operation
softmax
::tensorflow::Output softmax
Kamusal işlevler
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