transformers
e508965d
- Cleanup `BatchFeature` and `BatchEncoding` (#38459)
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
212 days ago
Cleanup `BatchFeature` and `BatchEncoding` (#38459) * Use dict comprehension to create dict * Fix type annotation Union[Any] doesn't really make any sense * Remove methods that are already implemented in the `UserDict` parent class
References
#38459 - Cleanup `BatchFeature` and `BatchEncoding`
Author
lgeiger
Parents
8e5cefcb
Loading