in reply to Re: Re: Re: Re: Testing Inline::C Modules
in thread Testing Inline::C Modules
Am I missing something basic here?
hmmm .... I think so. not sure what exactly. so I'll just make some random statements and hope they help
1) if the derivative is one, the derivative is one. back propagation still works. everything 's cool.
2) your code is good if its intent is to back prop a layer that is known to be sigmoid. if you want to back prop a layer that is known to be linear you can just drop the derivative term altogether. you'll have to have some kind of layer-labelling scheme er something to decide which loop to call. (ditto for feed forwards).