Closed djjolicoeur closed 4 years ago
Hi @djjolicoeur
I’m on my iPad, so I cannot run that code, but I’m pretty sure that the problem is caused by the mismatched use of mv/mv!
In particular case that you’ve posted, the function should be mv! (note the !)
The immutable version should be (mv w1 x), and it is used only to introduc the reader to the simplest possible layer propagation.
Please check whether the same error is in the book code. If it is, I must have introduced by error, and will change this asap.
@blueberry it is (mv w1 x h1)
in the 0.12.0 book code and book as well. Well, at least I'm less confused about why we need h1 there!
Not sure if this belongs here, but I just picked up the DLFP book and ran into an issue w/ the first exercise. Intel MKL installed and appears to be working. I actually ran into this in my own code and concluded I must be doing something wrong, so I pulled down the book code and tried to run it there as well (captured below) with the same results. It is entirely possible that I still managed to mess it up somehow, so any nudge in the right direction would be appreciated!
java version
project.clj
code and output