Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add str type annotation to device parameter in ToTensorD (#6737)
### Description A simple fix adding `str` type annotation to the `device` parameter in `ToTensorD`, making it consistent with `ToTensor`. As this fix is very simple, I hope it's okay I don't create an issue in advance. Signed-off-by: function2 <function2-llx@outlook.com>
- Loading branch information