Commit 426976d
docs: clarify _prepare_batch docstring (#3730)
Fixes #2661
Description:
- clarify that `_prepare_batch` moves the batch to the target device for
both training and evaluation
Check list:
- [ ] New tests are added (if a new feature is added)
- [ ] New doc strings: description and/or example code are in RST format
- [ ] Documentation is updated (if required)
Co-authored-by: nightcityblade <nightcityblade@gmail.com>
Co-authored-by: vfdev <vfdev.5@gmail.com>1 parent 6c3dfd9 commit 426976d
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
0 commit comments