deep-diamond
deep-diamond copied to clipboard
NPE occurs when printing tensors if *print-length* is nil.
Not a high priority issue but I hit this and figured I would log it here.
I believe *print-length*
defaults to nil in clojure, but some of the print methods in deep-diamond depend on it being set or they throw an NPE. For example, here:
https://github.com/uncomplicate/deep-diamond/blob/41913bf930bad92f8341ad679459827ac61ebf93/src/clojure/uncomplicate/diamond/internal/dnnl/tensor.clj#L521