From dd50525cabf7e664c7026f4f381d6bd8d1416ee1 Mon Sep 17 00:00:00 2001 From: joannemiki57 Date: Fri, 22 May 2026 18:25:30 -0400 Subject: [PATCH] Remove obsolete FIXME in autoaugment.py The FIXME above AutoAugment proposed extracting a shared _AutoAugmentBase to deduplicate fill standardization across the v1 AutoAugment, RandAugment, TrivialAugmentWide, and AugMix classes. Per maintainer guidance in #9447, v1 transforms are in maintenance mode and v2 (which already has _AutoAugmentBase) is where new work happens, so this refactor will not be done in v1. Removing the FIXME to reflect that decision. Closes #9446. Co-Authored-By: Claude Opus 4.7 (1M context) --- torchvision/transforms/autoaugment.py | 1 - 1 file changed, 1 deletion(-) diff --git a/torchvision/transforms/autoaugment.py b/torchvision/transforms/autoaugment.py index 20291d09b94..4157a62d20f 100644 --- a/torchvision/transforms/autoaugment.py +++ b/torchvision/transforms/autoaugment.py @@ -100,7 +100,6 @@ class AutoAugmentPolicy(Enum): SVHN = "svhn" -# FIXME: Eliminate copy-pasted code for fill standardization and _augmentation_space() by moving stuff on a base class class AutoAugment(torch.nn.Module): r"""AutoAugment data augmentation method based on `"AutoAugment: Learning Augmentation Strategies from Data" `_.