Closed uschmidt83 closed 8 years ago
@uschmidt83 Thanks a lot! This is a nice catch. Do you have time to create PR to fix some commonly used layers? Otherwise, I will try to fix some of them over the weekend.
@pluskid I can do it, shouldn't be too much work.
@pluskid Is there a problem with my PR, or do you want to solve it in a different way?
Sorry I somehow missed that one! That looks good and I have merged it! Thanks for the pr and thanks for double checking!
@pluskid No problem. Thanks for maintaining the module :)
Hi, I found that neuron computations are very slow on the CPUBackend, which seems to be caused by a lack of type annotations in the code.
Using ReLU as an example, here's code to reproduce the issue and a simple fix:
I observe these
@time
results on my machine (Julia 0.4.3, Mocha master):Best, Uwe