"git@developer.sourcefind.cn:OpenDAS/ollama.git" did not exist on "e9e9bdb8d904f009e8b1e54af9f77624d481cfb2"
Update `ToDtype` to avoid unnecessary `to()` calls and fixing types on `Transform` (#6773)
* Fix `ToDtype` to avoid errors when a type is not defined. * Nit `(features.is_simple_tensor, features._Feature)` to `(Tensor,)` * Fixing linter * Adding comment. * Switch back to indexing. Python's default dict seems to have a nasty behaviour.
Showing
Please register or sign in to comment