3 ms·
That's not to say there aren't things NumPy doesn't do that it could. How about lazy evaluation or even just matrix chain multiplication? Either could save a lo
by ris 9y ago
That's not to say there aren't things NumPy doesn't do that it could. How about lazy evaluation or even just matrix chain multiplication? Either could save a lot of computation.
- VHRanger 9y agoDynamic arrays anyone?
- shoyer 9y agoMatrix chain multiplication was added to NumPy recently, see numpy.linalg.multi_dot: https://docs.scipy.org/doc/numpy-1.13.0/reference/generated/numpy.linalg.multi_dot.html https://docs.scipy.org/doc/numpy-1.13.0/reference/generated/...
- ris 9y agoHooray! Still, it's not exactly transparent in a way that you could get with lazy array evaluation.