Closed foster999 closed 4 years ago
Hi! So apparently, you didn't need to define a new activation
function. It's supposed to call forward
's optional parameter, but there was a typo. So now I believe there's a much larger bug lurking somewhere because I would expect the function to call anyway, but it never gave me an error.
I'm still looking into this though.
Fixed bug where
activation()
was called but not assigned - assigned thenp.tanh()
function toactivation
. No worries if this is not what you were intending for this function, but code doesn't run without something assignedReplaced math with numpy (np), to enable use of arrays when refactoring