transformers
e508965d - Cleanup `BatchFeature` and `BatchEncoding` (#38459)

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
Author
Parents
Loading