What is `ItemTransform`?

Item Transform and Batch Transform are how we differentiate what is done on the CPU level (item/individual images) and the GPU level (batch/groups of images).

Also see this discussion: Item_tfms vs batch_tfms

I have a visualization there as well

(And it is fastai, 99.9% of everything in the fastai library is built on itself)

Also, just now realized if you want the source code for ItemTransform, it’s in fastcore (the foundation library for fastai2) here: