<?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: Krishanth</title>
    <description>The latest articles on DEV Community by Krishanth (@krishanth7).</description>
    <link>https://dev.to/krishanth7</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%2F3317900%2Fd3655f53-6c56-47db-8cf2-92344c73504c.png</url>
      <title>DEV Community: Krishanth</title>
      <link>https://dev.to/krishanth7</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/krishanth7"/>
    <language>en</language>
    <item>
      <title>[Boost]</title>
      <dc:creator>Krishanth</dc:creator>
      <pubDate>Mon, 26 Oct 2026 14:15:23 +0000</pubDate>
      <link>https://dev.to/krishanth7/-2l35</link>
      <guid>https://dev.to/krishanth7/-2l35</guid>
      <description>&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/krishanth7/i-built-everyo-to-understand-how-neural-networks-actually-work-1bke" class="crayons-story__hidden-navigation-link"&gt;I Built EveryO to Understand How Neural Networks Actually Work&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/krishanth7" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3317900%2Fd3655f53-6c56-47db-8cf2-92344c73504c.png" alt="krishanth7 profile" class="crayons-avatar__image" width="96" height="96"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/krishanth7" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Krishanth
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Krishanth
                
                
              
              &lt;div id="story-author-preview-content-4922250" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/krishanth7" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3317900%2Fd3655f53-6c56-47db-8cf2-92344c73504c.png" class="crayons-avatar__image" alt="" width="96" height="96"&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Krishanth&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/krishanth7/i-built-everyo-to-understand-how-neural-networks-actually-work-1bke" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Oct 26&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/krishanth7/i-built-everyo-to-understand-how-neural-networks-actually-work-1bke" id="article-link-4922250"&gt;
          I Built EveryO to Understand How Neural Networks Actually Work
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/python"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;python&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/machinelearning"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;machinelearning&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/deeplearning"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;deeplearning&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/opensource"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;opensource&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
            &lt;a href="https://dev.to/krishanth7/i-built-everyo-to-understand-how-neural-networks-actually-work-1bke#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              

              &lt;span class="hidden s:inline"&gt;Add&amp;nbsp;Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            8 min read
          &lt;/small&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;


</description>
      <category>ai</category>
      <category>learning</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>I Built EveryO to Understand How Neural Networks Actually Work</title>
      <dc:creator>Krishanth</dc:creator>
      <pubDate>Mon, 26 Oct 2026 14:12:07 +0000</pubDate>
      <link>https://dev.to/krishanth7/i-built-everyo-to-understand-how-neural-networks-actually-work-1bke</link>
      <guid>https://dev.to/krishanth7/i-built-everyo-to-understand-how-neural-networks-actually-work-1bke</guid>
      <description>&lt;h1&gt;
  
  
  I Built EveryO to Understand How Neural Networks Actually Work
&lt;/h1&gt;

&lt;p&gt;Hey everyone! 👋&lt;/p&gt;

&lt;p&gt;I'm &lt;strong&gt;Krishanth&lt;/strong&gt;, and I've been spending a lot of time exploring artificial intelligence, neural networks, and the engineering behind deep-learning frameworks.&lt;/p&gt;

&lt;p&gt;Something I've always found interesting is what actually happens when we train a neural network.&lt;/p&gt;

&lt;p&gt;We write a few lines of Python, define some layers, choose an optimizer, and start training. Eventually, the model begins making predictions.&lt;/p&gt;

&lt;p&gt;But what's really happening underneath?&lt;/p&gt;

&lt;p&gt;How does a framework calculate gradients? How does it know which parameters to update? What happens inside convolutional layers? And could I implement those things myself?&lt;/p&gt;

&lt;p&gt;Those questions led me to start building &lt;strong&gt;EveryO&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GitHub Repository:&lt;/strong&gt; &lt;a href="https://github.com/krishanth7/EveryO" rel="noopener noreferrer"&gt;github.com/krishanth7/EveryO&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;EveryO is an open-source neural computing framework built primarily with Python and NumPy.&lt;/p&gt;

&lt;p&gt;It's a project focused on learning, experimentation, and understanding the fundamentals of deep learning.&lt;/p&gt;




&lt;h2&gt;
  
  
  What is EveryO?
&lt;/h2&gt;

&lt;p&gt;EveryO is a neural-network framework that implements its own tensor operations, automatic differentiation engine, neural-network layers, optimizers, and training utilities.&lt;/p&gt;

&lt;p&gt;Rather than depending on PyTorch or TensorFlow for its core gradient calculations, EveryO implements these operations using NumPy.&lt;/p&gt;

&lt;p&gt;The project includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Tensor computation and broadcasting&lt;/li&gt;
&lt;li&gt;Reverse-mode automatic differentiation&lt;/li&gt;
&lt;li&gt;Dense neural networks&lt;/li&gt;
&lt;li&gt;Convolutional neural networks&lt;/li&gt;
&lt;li&gt;RNN, LSTM, and GRU architectures&lt;/li&gt;
&lt;li&gt;Attention mechanisms and Transformer encoders&lt;/li&gt;
&lt;li&gt;Optimizers and loss functions&lt;/li&gt;
&lt;li&gt;Model training and evaluation&lt;/li&gt;
&lt;li&gt;Model serialization&lt;/li&gt;
&lt;li&gt;ONNX interoperability&lt;/li&gt;
&lt;li&gt;Profiling and quantization utilities&lt;/li&gt;
&lt;li&gt;Optional CUDA operations&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;My main goal with EveryO is to make the internal workings of neural-network frameworks easier to explore.&lt;/p&gt;

&lt;p&gt;I want developers to be able to open the source code, follow the calculations, and understand how the individual components fit together.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why Build Another Deep-Learning Framework?
&lt;/h2&gt;

&lt;p&gt;It's a reasonable question.&lt;/p&gt;

&lt;p&gt;We already have excellent frameworks like PyTorch, TensorFlow, and JAX.&lt;/p&gt;

&lt;p&gt;They're powerful, mature, and supported by large communities.&lt;/p&gt;

&lt;p&gt;I'm not trying to replace them.&lt;/p&gt;

&lt;p&gt;In fact, working on EveryO has helped me appreciate how much engineering goes into those frameworks.&lt;/p&gt;

&lt;p&gt;When you begin implementing even a basic tensor engine, you quickly encounter challenges involving numerical precision, gradient propagation, tensor shapes, memory management, and performance.&lt;/p&gt;

&lt;p&gt;And that's before you start building neural-network architectures.&lt;/p&gt;

&lt;p&gt;EveryO gives me a place to explore those problems directly.&lt;/p&gt;

&lt;p&gt;It's also an opportunity to share what I'm learning through open-source development.&lt;/p&gt;




&lt;h2&gt;
  
  
  Understanding Automatic Differentiation
&lt;/h2&gt;

&lt;p&gt;One of the most interesting parts of EveryO is its automatic differentiation engine.&lt;/p&gt;

&lt;p&gt;Automatic differentiation allows a framework to calculate gradients without requiring developers to manually derive every mathematical expression.&lt;/p&gt;

&lt;p&gt;Let's look at a simple example.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;everyo&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;eo&lt;/span&gt;

&lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;eo&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;tensor&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;&lt;span class="mf"&gt;2.0&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt; &lt;span class="n"&gt;requires_grad&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="bp"&gt;True&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;y&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt;

&lt;span class="n"&gt;y&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;backward&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;

&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;grad&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Output:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[4.]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The mathematical function is:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;y = x²&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Its derivative is:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;dy/dx = 2x&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;When &lt;code&gt;x = 2&lt;/code&gt;, the gradient is &lt;code&gt;4&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;EveryO calculates this gradient through its own autograd implementation.&lt;/p&gt;

&lt;p&gt;Of course, real neural networks contain far more operations and parameters.&lt;/p&gt;

&lt;p&gt;But the same underlying idea applies.&lt;/p&gt;

&lt;p&gt;The framework tracks mathematical operations and propagates gradients backward through the computation graph.&lt;/p&gt;

&lt;p&gt;That process is fundamental to training neural networks.&lt;/p&gt;




&lt;h2&gt;
  
  
  Building a Neural Network with EveryO
&lt;/h2&gt;

&lt;p&gt;Once tensors and automatic differentiation are working, the next step is combining operations into reusable neural-network layers.&lt;/p&gt;

&lt;p&gt;Here's a simple feed-forward neural network:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;everyo&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;eo&lt;/span&gt;

&lt;span class="n"&gt;model&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;eo&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Sequential&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;eo&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Linear&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;64&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;128&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
    &lt;span class="n"&gt;eo&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;ReLU&lt;/span&gt;&lt;span class="p"&gt;(),&lt;/span&gt;
    &lt;span class="n"&gt;eo&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Dropout&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mf"&gt;0.2&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
    &lt;span class="n"&gt;eo&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Linear&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;128&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This model contains a linear layer with 128 output units, a ReLU activation, dropout, and a final linear layer with 10 output units.&lt;/p&gt;

&lt;p&gt;The layers are connected through &lt;code&gt;Sequential&lt;/code&gt;, making the architecture easier to organize.&lt;/p&gt;

&lt;p&gt;During training, an optimizer can use the gradients calculated by autograd to update the model's parameters.&lt;/p&gt;

&lt;p&gt;It's a relatively small example, but it demonstrates how the framework's components work together.&lt;/p&gt;




&lt;h2&gt;
  
  
  Exploring Convolutional Neural Networks
&lt;/h2&gt;

&lt;p&gt;I also wanted EveryO to support more than fully connected neural networks.&lt;/p&gt;

&lt;p&gt;Convolutional neural networks are particularly interesting because of how they process images.&lt;/p&gt;

&lt;p&gt;Instead of treating every pixel independently, convolutional layers apply learnable filters across spatial regions.&lt;/p&gt;

&lt;p&gt;These filters can detect patterns that become useful for classification.&lt;/p&gt;

&lt;p&gt;EveryO includes convolution and pooling operations, along with examples that visualize their behavior.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fezjgq9l7xaaqksd6oogr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fezjgq9l7xaaqksd6oogr.png" alt="EveryO CNN Features" width="799" height="260"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The image above shows convolutional filters and the feature maps they produce.&lt;/p&gt;

&lt;p&gt;Being able to visualize these intermediate results helps connect the mathematical operations with the behavior of the model.&lt;/p&gt;




&lt;h2&gt;
  
  
  Training and Evaluating Models
&lt;/h2&gt;

&lt;p&gt;Training a neural network involves more than calculating gradients.&lt;/p&gt;

&lt;p&gt;You also need to manage data, calculate losses, update parameters, and evaluate how the model performs.&lt;/p&gt;

&lt;p&gt;EveryO includes training utilities for these tasks.&lt;/p&gt;

&lt;p&gt;Here's an example of configuring a trainer:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;everyo&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;eo&lt;/span&gt;

&lt;span class="n"&gt;model&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;eo&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Sequential&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;eo&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Linear&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;64&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;128&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
    &lt;span class="n"&gt;eo&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;ReLU&lt;/span&gt;&lt;span class="p"&gt;(),&lt;/span&gt;
    &lt;span class="n"&gt;eo&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Linear&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;128&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;optimizer&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;eo&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Adam&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;parameters&lt;/span&gt;&lt;span class="p"&gt;(),&lt;/span&gt;
    &lt;span class="n"&gt;lr&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mf"&gt;0.005&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;loss_function&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;eo&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;CrossEntropyLoss&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;

&lt;span class="n"&gt;trainer&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;eo&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Trainer&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;optimizer&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;loss_function&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;metrics&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;accuracy&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="c1"&gt;# Provide suitable training and validation DataLoaders.
# history = trainer.fit(
#     train_loader,
#     epochs=25,
#     validation_loader=test_loader
# )
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The repository includes runnable examples demonstrating the complete training workflow.&lt;/p&gt;

&lt;p&gt;It also includes visualization utilities for examining model performance.&lt;/p&gt;

&lt;h3&gt;
  
  
  Training Curves
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fc9xq22n9e9025ilfizmo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fc9xq22n9e9025ilfizmo.png" alt="EveryO Training Curves" width="799" height="307"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Training curves help show whether a model is improving over time.&lt;/p&gt;

&lt;h3&gt;
  
  
  Confusion Matrix
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgi94bwqcx03z2eogqati.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgi94bwqcx03z2eogqati.png" alt="EveryO Confusion Matrix" width="800" height="724"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A confusion matrix helps identify which classes a model predicts correctly and where it makes mistakes.&lt;/p&gt;

&lt;p&gt;These visualizations make experiments easier to understand and debug.&lt;/p&gt;




&lt;h2&gt;
  
  
  Experimenting with Transformers and Attention
&lt;/h2&gt;

&lt;p&gt;As the project expanded, I started exploring sequence models and attention mechanisms.&lt;/p&gt;

&lt;p&gt;EveryO includes implementations of RNNs, LSTMs, GRUs, multi-head attention, and Transformer encoder components.&lt;/p&gt;

&lt;p&gt;Attention is particularly interesting because it allows a model to relate information across different positions in a sequence.&lt;/p&gt;

&lt;p&gt;Here's an attention visualization generated from an EveryO experiment.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffz9j86jcn6qzl6gbxqkv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffz9j86jcn6qzl6gbxqkv.png" alt="EveryO Attention Heads" width="800" height="254"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Working with these architectures has helped me better understand how different neural-network designs process information.&lt;/p&gt;

&lt;p&gt;I still see these implementations primarily as educational and experimental tools rather than replacements for highly optimized production libraries.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why Numerical Correctness Matters
&lt;/h2&gt;

&lt;p&gt;One lesson from building EveryO is that getting a model to run doesn't necessarily mean its implementation is correct.&lt;/p&gt;

&lt;p&gt;A small error in gradient calculations can be difficult to detect.&lt;/p&gt;

&lt;p&gt;Sometimes a model will even appear to train while producing incorrect gradients.&lt;/p&gt;

&lt;p&gt;That's why numerical validation is an important part of the project.&lt;/p&gt;

&lt;p&gt;EveryO includes tests that compare supported gradient calculations against finite-difference approximations.&lt;/p&gt;

&lt;p&gt;It also provides optional TensorFlow reference comparisons for selected operations.&lt;/p&gt;

&lt;p&gt;These tests help identify mathematical mistakes and implementation regressions.&lt;/p&gt;

&lt;p&gt;There's always more validation to do, but correctness is something I want to keep prioritizing.&lt;/p&gt;




&lt;h2&gt;
  
  
  Getting Started with EveryO
&lt;/h2&gt;

&lt;p&gt;If you'd like to explore the project yourself, you can install it directly from GitHub.&lt;/p&gt;

&lt;p&gt;The repository documents support for Python 3.9 through 3.12.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 1: Clone the repository
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/krishanth7/EveryO.git
&lt;span class="nb"&gt;cd &lt;/span&gt;EveryO
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Step 2: Create a virtual environment
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;python &lt;span class="nt"&gt;-m&lt;/span&gt; venv .venv
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For Linux or macOS:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;source&lt;/span&gt; .venv/bin/activate
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For Windows PowerShell:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;venv&lt;/span&gt;&lt;span class="n"&gt;\Scripts\Activate.ps1&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Step 3: Install the framework
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;python &lt;span class="nt"&gt;-m&lt;/span&gt; pip &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-e&lt;/span&gt; &lt;span class="nb"&gt;.&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Step 4: Check the installation
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;everyo doctor
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Step 5: Run the demonstration
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;everyo demo
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The demo provides a way to explore the framework's training workflow.&lt;/p&gt;

&lt;p&gt;If you're interested in the implementation details, I'd recommend starting with the tensor and autograd modules.&lt;/p&gt;




&lt;h2&gt;
  
  
  Advanced Features and Experiments
&lt;/h2&gt;

&lt;p&gt;EveryO also contains several features beyond its core neural-network functionality.&lt;/p&gt;

&lt;h3&gt;
  
  
  Optional CUDA Support
&lt;/h3&gt;

&lt;p&gt;The project includes native CUDA components for selected numerical operations.&lt;/p&gt;

&lt;p&gt;These require a compatible NVIDIA GPU and development toolchain.&lt;/p&gt;

&lt;p&gt;The CUDA implementation is experimental and has not been comprehensively validated across different hardware configurations.&lt;/p&gt;

&lt;h3&gt;
  
  
  ONNX Integration
&lt;/h3&gt;

&lt;p&gt;EveryO provides tools for exporting supported models to ONNX.&lt;/p&gt;

&lt;p&gt;This makes it possible to experiment with interoperability between EveryO and compatible runtimes.&lt;/p&gt;

&lt;p&gt;Export support has limitations depending on the architecture and operations involved.&lt;/p&gt;

&lt;h3&gt;
  
  
  Mixed Precision
&lt;/h3&gt;

&lt;p&gt;The framework includes experimental mixed-precision utilities, including automatic casting and gradient scaling.&lt;/p&gt;

&lt;h3&gt;
  
  
  Quantization
&lt;/h3&gt;

&lt;p&gt;EveryO contains tools for exploring lower-precision model representations.&lt;/p&gt;

&lt;h3&gt;
  
  
  Profiling
&lt;/h3&gt;

&lt;p&gt;Profiling utilities help developers inspect execution behavior and identify potential performance bottlenecks.&lt;/p&gt;

&lt;p&gt;These features are useful for studying framework engineering, even though they are not intended to match the performance or maturity of established production systems.&lt;/p&gt;




&lt;h2&gt;
  
  
  What EveryO Is Not
&lt;/h2&gt;

&lt;p&gt;I want to be transparent about the project's limitations.&lt;/p&gt;

&lt;p&gt;EveryO is primarily intended for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Learning neural-network fundamentals&lt;/li&gt;
&lt;li&gt;Studying automatic differentiation&lt;/li&gt;
&lt;li&gt;Teaching deep-learning concepts&lt;/li&gt;
&lt;li&gt;Small-scale CPU experiments&lt;/li&gt;
&lt;li&gt;Exploring framework architecture&lt;/li&gt;
&lt;li&gt;Numerical research and prototyping&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It is not currently a production training runtime.&lt;/p&gt;

&lt;p&gt;For large-scale training, extensive GPU acceleration, or production-critical applications, mature frameworks such as PyTorch, TensorFlow, and JAX are generally better choices.&lt;/p&gt;

&lt;p&gt;EveryO is still evolving, and some of its advanced capabilities require additional testing and validation.&lt;/p&gt;

&lt;p&gt;I believe being clear about those limitations is important when sharing open-source software.&lt;/p&gt;




&lt;h2&gt;
  
  
  What's Next for EveryO?
&lt;/h2&gt;

&lt;p&gt;There are several areas I'd like to continue improving.&lt;/p&gt;

&lt;p&gt;One is performance.&lt;/p&gt;

&lt;p&gt;NumPy provides a useful foundation, but there's still a lot to explore around efficient tensor computation and accelerator integration.&lt;/p&gt;

&lt;p&gt;Another priority is documentation.&lt;/p&gt;

&lt;p&gt;I want the project to be approachable for developers who are curious about neural-network internals but may not have experience building a framework.&lt;/p&gt;

&lt;p&gt;I'm also interested in improving examples, expanding tests, and making the contribution process easier.&lt;/p&gt;

&lt;p&gt;EveryO is an ongoing learning experience, and I expect the project to continue changing as I explore new ideas.&lt;/p&gt;




&lt;h2&gt;
  
  
  Open Source and Contributions
&lt;/h2&gt;

&lt;p&gt;EveryO is available under the MIT License.&lt;/p&gt;

&lt;p&gt;If you're interested in neural computing, Python, deep learning, or numerical programming, I'd be happy for you to explore the repository.&lt;/p&gt;

&lt;p&gt;You don't need to contribute a major feature to get involved.&lt;/p&gt;

&lt;p&gt;Bug reports, documentation improvements, tests, suggestions, and code reviews are all valuable.&lt;/p&gt;

&lt;p&gt;Here are some useful links:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GitHub Repository&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/krishanth7/EveryO" rel="noopener noreferrer"&gt;https://github.com/krishanth7/EveryO&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Issues and Discussions&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/krishanth7/EveryO/issues" rel="noopener noreferrer"&gt;https://github.com/krishanth7/EveryO/issues&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Contribution Guidelines&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/krishanth7/EveryO/blob/main/CONTRIBUTING.md" rel="noopener noreferrer"&gt;https://github.com/krishanth7/EveryO/blob/main/CONTRIBUTING.md&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Documentation&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/krishanth7/EveryO/tree/main/docs" rel="noopener noreferrer"&gt;https://github.com/krishanth7/EveryO/tree/main/docs&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Supporting Open-Source Development
&lt;/h2&gt;

&lt;p&gt;If you find EveryO interesting, there are several ways to support the project.&lt;/p&gt;

&lt;p&gt;You can star the repository, share it with other developers, report bugs, or contribute code.&lt;/p&gt;

&lt;p&gt;I also have a GitHub Sponsors page for anyone who would like to support my broader work in AI, robotics, and open-source engineering.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://github.com/sponsors/krishanth7" rel="noopener noreferrer"&gt;Support My Open-Source Work on GitHub Sponsors&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;There is absolutely no obligation to sponsor.&lt;/p&gt;

&lt;p&gt;Even taking the time to explore the repository or provide feedback is appreciated.&lt;/p&gt;




&lt;h2&gt;
  
  
  Final Thoughts
&lt;/h2&gt;

&lt;p&gt;Building EveryO has been an interesting way to explore the mathematics and engineering behind neural networks.&lt;/p&gt;

&lt;p&gt;It has also reminded me how much complexity is hidden behind the APIs we use every day.&lt;/p&gt;

&lt;p&gt;There's still a lot I want to learn and improve.&lt;/p&gt;

&lt;p&gt;My hope is that EveryO becomes a useful resource for developers who want to understand neural-network frameworks from the inside.&lt;/p&gt;

&lt;p&gt;If you've ever wondered how automatic differentiation works, how neural-network layers are implemented, or what goes into building a deep-learning framework, I hope you'll find something interesting in the project.&lt;/p&gt;

&lt;p&gt;Feel free to check it out, experiment with the code, and share your thoughts.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://github.com/krishanth7/EveryO" rel="noopener noreferrer"&gt;Explore EveryO on GitHub&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Thanks for reading!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Krishanth&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Independent Developer | AI Research | Robotics | Open Source&lt;/p&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/krishanth7" rel="noopener noreferrer"&gt;https://github.com/krishanth7&lt;/a&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>machinelearning</category>
      <category>deeplearning</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
