Softplus

パブリック クラスSoftplus

Softplus アクティベーション関数、 softplus(x) = log(exp(x) + 1)

使用例:

     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]
 

パブリックコンストラクター

ソフトプラス(Ops tf)
Softplus アクティベーション関数を作成します。

パブリックメソッド

オペランド<T>
call (オペランド<T>入力)
アクティベーションのための計算演算を取得します。

継承されたメソッド

パブリックコンストラクター

パブリックSoftplus (Ops tf)

Softplus アクティベーション関数を作成します。

パラメーター
TF TensorFlow オペレーション

パブリックメソッド

publicオペランド<T>呼び出し(オペランド<T> 入力)

アクティベーションのための計算演算を取得します。

パラメーター
入力入力テンソル
戻り値
  • アクティブ化のオペランド