Softplus

genel sınıf Softplus

Softplus aktivasyon fonksiyonu, softplus(x) = log(exp(x) + 1) .

Örnek Kullanım:

     Operand<TFloat32> input = tf.constant(
              new float[] {-20f, -1.0f, 0.0f, 1.0f, 20f});
     Softplus<TFloat32> softplus = new Softplus<>(tf);
     Operand<TFloat32> result = softplus.call(input);
     // result is [2.0611537e-09f, 3.1326166e-01f, 6.9314718e-01f,
     //                 1.3132616e+00f, 2.0000000e+01f]
 

Kamu İnşaatçıları

Softplus (Ops tf)
Softplus etkinleştirme işlevi oluşturur.

Genel Yöntemler

İşlenen <T>
çağrı ( İşlenen <T> girişi)
Etkinleştirme için hesaplama işlemini alır.

Kalıtsal Yöntemler

Kamu İnşaatçıları

halka açık Softplus (Ops tf)

Softplus etkinleştirme işlevi oluşturur.

Parametreler
TF TensorFlow Operasyonları

Genel Yöntemler

genel İşlenen <T> çağrısı ( İşlenen <T> girişi)

Etkinleştirme için hesaplama işlemini alır.

Parametreler
giriş giriş tensörü
İadeler
  • Etkinleştirme işleneni