public static KerasSymbol Selu(KerasSymbol x) { var alpha = 1.6732632423543772f; var scale = 1.0507009873554805f; return(scale * K.Elu(x, alpha)); }
public override KerasSymbol[] Invoke(KerasSymbol[] inputs, FuncArgs kwargs = null) { List <KerasSymbol> result = new List <KerasSymbol>(); foreach (var input in inputs) { result.Add(K.Elu(input, alpha)); } return(result.ToArray()); }
public static KerasSymbol Elu(KerasSymbol x, float alpha = 1) { return(K.Elu(x, alpha)); }