"docs/vscode:/vscode.git/clone" did not exist on "6e1af3a777ba0f27a6071861ec916e7dc35efe9d"
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