Introduction
Compose transforms lets you combine many image changes into one step. This makes preparing images for a model easy and organized.
When you want to resize and normalize images before training a model.
When you need to apply multiple changes like cropping, flipping, and converting images to tensors.
When you want to keep your image processing steps clear and reusable.
When you want to apply the same set of changes to all images in a dataset.
When you want to chain simple image edits without writing separate code for each.