<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Torchvision on Programmer.ie</title>
    <link>http://programmer.ie/tags/torchvision/</link>
    <description>Recent content in Torchvision 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/torchvision/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>PyTorch Transforms: From Raw Data to the Tensor Your Model Actually Sees</title>
      <link>http://programmer.ie/books/pytorch-zero-to-hero/05a-chapter/</link>
      <pubDate>Sat, 22 Aug 2026 11:58:00 +0100</pubDate>
      <guid>http://programmer.ie/books/pytorch-zero-to-hero/05a-chapter/</guid>
      <description>&lt;h2 id=&#34;pytorch-from-first-principles--interlude-05a&#34;&gt;PyTorch From First Principles — Interlude 05A&lt;/h2&gt;&#xA;&lt;p&gt;In the previous chapter we treated the &lt;code&gt;DataLoader&lt;/code&gt; as a production system.&lt;/p&gt;&#xA;&lt;p&gt;It reads samples, prepares batches, moves work through worker processes and tries to keep the accelerator fed.&lt;/p&gt;&#xA;&lt;p&gt;But there is a question hiding inside that pipeline:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;What exactly is a sample by the time the model receives it?&lt;/strong&gt;&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;p&gt;A file on disk is not usually the tensor the model trains on.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
