<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: manishn18</title>
    <description>The latest articles on DEV Community by manishn18 (@manishn18).</description>
    <link>https://dev.to/manishn18</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4245023%2Fa336198e-1b88-4401-a31f-d1ca857d4e58.png</url>
      <title>DEV Community: manishn18</title>
      <link>https://dev.to/manishn18</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/manishn18"/>
    <language>en</language>
    <item>
      <title>How I built a deep learning library in pure Java (and compared it with PyTorch)</title>
      <dc:creator>manishn18</dc:creator>
      <pubDate>Sat, 14 Nov 2026 19:47:55 +0000</pubDate>
      <link>https://dev.to/manishn18/how-i-built-a-deep-learning-library-in-pure-java-and-compared-it-with-pytorch-2j8l</link>
      <guid>https://dev.to/manishn18/how-i-built-a-deep-learning-library-in-pure-java-and-compared-it-with-pytorch-2j8l</guid>
      <description>&lt;ol&gt;
&lt;li&gt;Why: learning Java and wanting to understand AI under the hood&lt;/li&gt;
&lt;li&gt;Tensors and matmul first, then gradient checks for every layer&lt;/li&gt;
&lt;li&gt;Building Conv2D, LSTM and a mini transformer&lt;/li&gt;
&lt;li&gt;Making it small: int8 and int4 quantization&lt;/li&gt;
&lt;li&gt;Testing: 283 tests, including autograd checks&lt;/li&gt;
&lt;li&gt;The PyTorch comparison: same CNNs, same epochs, accuracy within about 1 point&lt;/li&gt;
&lt;li&gt;What I learned and what's next
Links: &lt;a href="https://github.com/manishn1877/minidl-java/tree/main" rel="noopener noreferrer"&gt;https://github.com/manishn1877/minidl-java/tree/main&lt;/a&gt;                  and &lt;a href="https://manishn1877.github.io/minidl-java/" rel="noopener noreferrer"&gt;https://manishn1877.github.io/minidl-java/&lt;/a&gt;
&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>java</category>
      <category>deeplearning</category>
      <category>opensource</category>
      <category>architecture</category>
    </item>
  </channel>
</rss>
