“There are a number of deep learning packages out there. However most sacrifice readability for efficiency. This has two disadvantages: (1) It is difficult for a beginner student to understand...
In reply to J. David Lee. Efficient access to memory buffers and OpenMP are language features in Cython. S...
https://honnibal.wordpress.com/2014/10/21/writing-c-in-cython/#comment-466
In reply to Chris Barker. Hi. I'm the author of the original post. I've used Cython a little bit, and I wo...
https://honnibal.wordpress.com/2014/10/21/writing-c-in-cython/#comment-462
Thanks for posting this -- I had also just read that post and thought: "wouldn't it be easier to do this in Cython? I used to write code much like the OP -- but now I far prefer Cython -- having ...
https://honnibal.wordpress.com/2014/10/21/writing-c-in-cython/#comment-442
In reply to honnibal. That's interesting. I don't think it's possible for a compiler to vectorize the "C S...
https://honnibal.wordpress.com/2014/10/21/writing-c-in-cython/#comment-429
In reply to J. David Lee. To answer your question about "direct" array access...Well, I'm not going via nu...
https://honnibal.wordpress.com/2014/10/21/writing-c-in-cython/#comment-428
In reply to honnibal. Here's 5 runs. As you can see, on run 3, C Simple 1 has a sharp dip in performance. ...
https://honnibal.wordpress.com/2014/10/21/writing-c-in-cython/#comment-427
In reply to J. David Lee. Okay so, when I ran your benchmark, I think that Simple2 was implemented as well...
https://honnibal.wordpress.com/2014/10/21/writing-c-in-cython/#comment-426
I recently posted the next part in the blog series you mentioned above. By removing array-indexing macros from the code and operating on C pointers I saw a 45% performance increase. I'd be intere...
https://honnibal.wordpress.com/2014/10/21/writing-c-in-cython/#comment-425
In reply to Martin Andrews. You're right that they're trained ...