Skip to content

Conversation

@scotts
Copy link
Contributor

@scotts scotts commented Dec 1, 2025

My original thinking of the DecoderTransform object is that they would just be a holder of values with no methods. They're evolving to actually have methods, so let's just make them normal objects.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Dec 1, 2025
:template: dataclass.rst

DecoderTransform
RandomCrop
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Drive-by: I forgot to update this in previous PR.

@scotts scotts marked this pull request as ready for review December 3, 2025 20:47
@scotts scotts mentioned this pull request Dec 4, 2025
@scotts scotts merged commit 1b13e58 into meta-pytorch:main Dec 4, 2025
73 of 74 checks passed
@scotts scotts deleted the refactor_decoder_transforms branch December 4, 2025 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants