<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Parameters on AIBussin — AI applications, systems and books</title><link>https://aibussin.com/tags/parameters/</link><description>Recent content in Parameters on AIBussin — AI applications, systems and books</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Sat, 08 Aug 2026 13:09:00 +0100</lastBuildDate><atom:link href="https://aibussin.com/tags/parameters/index.xml" rel="self" type="application/rss+xml"/><item><title>PyTorch nn.Module Explained: Missing Parameters, state_dict, Buffers and Registration Bugs</title><link>https://aibussin.com/post/pytorch-zero-to-hero-04/</link><pubDate>Sat, 08 Aug 2026 13:09:00 +0100</pubDate><guid>https://aibussin.com/post/pytorch-zero-to-hero-04/</guid><description>&lt;h2 id="pytorch-zero-to-hero--step-04"&gt;PyTorch: Zero to Hero — Step 04&lt;/h2&gt;&#10;&lt;p&gt;In the previous post we built a neural network using raw tensors and autograd.&lt;/p&gt;&#10;&lt;p&gt;Now we are going to add the abstraction PyTorch expects almost every real model to use:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-python" data-lang="python"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#66d9ef"&gt;class&lt;/span&gt; &lt;span style="color:#a6e22e"&gt;Model&lt;/span&gt;(torch&lt;span style="color:#f92672"&gt;.&lt;/span&gt;nn&lt;span style="color:#f92672"&gt;.&lt;/span&gt;Module):&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;...&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;But this is not going to be a tour of &lt;code&gt;nn.Module&lt;/code&gt; methods.&lt;/p&gt;&#10;&lt;p&gt;The useful question for programmers is:&lt;/p&gt;&#10;&lt;blockquote&gt;&#10;&lt;p&gt;&lt;strong&gt;What exactly does &lt;code&gt;nn.Module&lt;/code&gt; register, track, move, save and expose — and how do those mechanisms break?&lt;/strong&gt;&lt;/p&gt;</description></item></channel></rss>