Closed CrosleyZack closed 5 years ago
Since the REPL prints the object by default only after they are returned from the let
or with-release
block, you get the garbled results of the object that has been released. Some numbers may still be correct since everything happens quickly, but assume that the whole structure is erased. When you println
explicitly, it is done before the release, so the result is as expected.
I am pretty new to the neanderthal library, so I may just be making simple mistakes. I ran across a few things that seem like errors to me while following the Deep Learning in Clojure tutorial (https://dragan.rocks/articles/19/Deep-Learning-in-Clojure-From-Scratch-to-GPU-1-Representing-Layers-and-Connections) and I wanted to ensure were known, assuming they were errors.
let
andwith-release
appear to result in different values, for an identical function.mv!
seems to show different values in the vector vs just returning it.Again, very new to the library so I apologize if I am misinterpreting intended behavior. I am running Manjaro Linux, Leiningen 2.9.1 on Java 1.8.0_222 OpenJDK 64-Bit Server VM.