transformers
a6c9643c
- Use dict.items to avoid unnecessary lookups. (#23415)
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
3 years ago
Use dict.items to avoid unnecessary lookups. (#23415) It's more efficient to iterate over key, value dict pairs instead of iterating over keys and performing value lookups on each iteration. It's also more idiomatic.
References
#23415 - Use dict.items to avoid unnecessary lookups.
#27720 - Add common processor tests
#29969 - [SigLIP] Add fast tokenizer
#32831 - [Docs] Update resources
#33111 - [Backbone] Remove out_features everywhere
#33174 - [Zero-shot image classification pipeline] Remove tokenizer_kwargs
#59 - Fix attention mask handling in EoMT-DINOv3 converter
#62 - Add initial DEIMv2 model implementation
#65 - Fix RTDetrV2 sine position embedding ordering
#44375 - Add RF-DETR
#71 - Use Mask2Former ignore_value in mask matching and losses
#44385 - Fix make check-repo
#45082 - [VidEoMT] Update conversion script
#45110 - Add SAM 3.1
Author
ttsugriy
Parents
43f14620
Loading