Deep Neural Networks from Scratch in Zig
Lacking a Linear Algebra / Tensor library is what kills performance for DNN. For example, this kind of element by element manipulation must be avoided:<p><pre><code>            while (i < I * O): (i += 1) {
                self.weights[i] -= 0.01 * grads[i];
            }
</code></pre>
What are the options for vector / matrix / tensor operations in zig?