Exemple #1
0
 public Tensor Softplus(Tensor x, int axis = -1)
 {
     axis = axis < 0 ? x.DimCount + axis : axis;
     return(Out(C.Softplus(In(x))));
 }
Exemple #2
0
 public static Func <Variable, Function> Softplus(string name = null)
 {
     return(x => C.Softplus(x, name));
 }
 public Tensor Softplus(Tensor x, int axis = -1)
 {
     axis = CorrDim(x.DimCount, axis);
     return(Out(C.Softplus(In(x))));
 }