<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Data Contracts on Programmer.ie</title>
    <link>http://programmer.ie/tags/data-contracts/</link>
    <description>Recent content in Data Contracts on Programmer.ie</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sat, 22 Aug 2026 11:58:00 +0100</lastBuildDate>
    <atom:link href="http://programmer.ie/tags/data-contracts/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Transforms: What Does the Model Actually See?</title>
      <link>http://programmer.ie/books/pytorch-from-first-principles/07-chapter/</link>
      <pubDate>Sat, 22 Aug 2026 11:58:00 +0100</pubDate>
      <guid>http://programmer.ie/books/pytorch-from-first-principles/07-chapter/</guid>
      <description>&lt;p&gt;Here are two training runs. Same model, same data, same optimizer, same seed, same number of epochs. The preprocessing pipelines differ by one keyword argument, and neither one raises.&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;scale=True  input range=[   -2.12,    2.01] first_epoch_loss=   0.0001 last=   0.0000 val_acc=1.000&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;scale=False input range=[   -2.12,  975.64] first_epoch_loss=  36.7257 last=   1.5337 val_acc=0.620&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The second pipeline produced tensors with the right shape, the right dtype, the right device, and no non-finite values. Every check from Chapter 2 passes. Every check from Chapter 5 passes. The batch arrived on time, which is everything Chapter 6 taught us to verify. And the model went from perfect to barely better than guessing.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
