Commit b8c3e86
authored
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>1 parent 38d73e8 commit b8c3e86
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
514 | 514 | | |
515 | 515 | | |
516 | 516 | | |
517 | | - | |
| 517 | + | |
518 | 518 | | |
519 | 519 | | |
520 | 520 | | |
| |||
0 commit comments