Arraymancer
Arraymancer copied to clipboard
A fast, ergonomic and portable tensor library in Nim with a deep learning focus for CPU, GPU and embedded devices via OpenMP, Cuda and OpenCL backends
Right now have to manually clone all the weights, bug prone
I just can't find an example how to create an OpenCL network.
Test case: ```Nim import sequtils var x = toSeq(1..1000) let ompsize = x.len let ompthreshold = 800 for i in `||`(0, x.len - 1, "if(ompthreshold < ompsize)"): x[i] += 2...
This PR adds a number of missing numpy functions: - tril, triu: These were already implemented but not exported nor tested - tri - geomspace - sinc - meshgrid -...
This PR is related to PR #603 which I have closed. Instead of adding "math" versions of the + and - operators, I make those a compilation error which tells...
This is supported by numpy but was not supported by Arraymancer yet. I'm hoping I've implemented it in a sufficiently performant way. If I can do it in a better...
Arraymancer has become a key piece of Nim ecosystem. Unfortunately I do not have the time to develop it further for several reasons: - family, birth of family member, death...
are quite annoying during reviews
Hello! Currently, * operator only supports matrix-matrix and matrix-vector multiplication. Are there any plans to add support for batch matrix-matrix multiplication? It would be really useful for stuff like Attention...
Hello! This PR adds broadcasted division operation (`/.`) for the Variable type. I am quite new to the codebase so any suggestions are welcome. Thanks!