kaarrot
kaarrot
Thanks, this makes it more readable. So, it turns out tensor/iterator_test.go expects having [0,0,0] index at the very end. ``` var correct = [][]int{ {0, 0, 1}, {0, 0, 2},...
Ok, but why the` func (it *FlatIterator) Start() `returns advanced iterator instead of just setting it to 0? Starting from 0 and returning `it.nextIndex,nil` instead of return `it.lastIndex, nil` in...
Yes absolutely. https://github.com/kubaroth/tensor/tree/iterator-off-by-one With some attempts to fix formatting (The spacing is not there yet) I used the following snippet for test the tensor's output (the tensor.Data() and formatted): https://gist.github.com/kubaroth/b6a77619fbd35d7d95b04818b0005924#file-dense_iter-go...
Although it is not immediately obvious why the copy is needed there (from client's perspective) this solution works for my current needs. Thanks. Long term, would be nice to avoid...
Are you considering the alternative option in the attached link?
https://github.com/kubaroth/tensor/tree/iterator-off-by-one
+1 for having official generics in gomacro. I've seen some packages errored on import in go macro due to dependency on generics. I imagine this list will keep growing. Is...
Seems I resloved my problem by downloading the header from link below: http://cimg.sourceforge.net/download.shtml
Wonder if copying the CImg.h is sufficient or should I also include plugins diirectory? At this point - triagle example works properly - bunny example is leaking and never complets...
Thanks, indeed resolution was the problem.