Glossary: Computer Vision Basics
weights enum
Also written: ResNet18_Weights, weights.transforms(), DEFAULT
A torchvision object, such as `ResNet18_Weights.DEFAULT`, that lists a model's pretrained weights, class names and matching evaluation transforms. It tells you the preprocessing the model expects.