Closed ClmnsRck closed 3 years ago
I would like to implement a Feed-Formward-iteration using taco. For that i need the sigmoid function:a = 1/(1 + e^(-x))
a = 1/(1 + e^(-x))
Can i implement this using tacos Index and code generation?
using the cmath exp() function gives me this error:
exp()
error: no matching function for call to ‘exp(taco::IndexExpr)’ h1_out(h1_o) = (T)1/((T)1 + exp((-1)*h1_in(h1_o)) );
I would like to implement a Feed-Formward-iteration using taco. For that i need the sigmoid function:
a = 1/(1 + e^(-x))
Can i implement this using tacos Index and code generation?