public override KerasSymbol[] Invoke(KerasSymbol[] inputs, FuncArgs kwargs = null) { List <KerasSymbol> result = new List <KerasSymbol>(); foreach (var input in inputs) { result.Add(input * K.Cast(K.Greater(inputs[0], this.theta), K.FloatX())); } return(result.ToArray()); }