fix typo examples and docs (#3932)

This commit is contained in:
digger yu
2023-06-08 16:09:32 +08:00
committed by GitHub
parent 407aa48461
commit 33eef714db
8 changed files with 17 additions and 17 deletions

View File

@@ -38,7 +38,7 @@ def train_epoch(epoch, model, optimizer, lr_scheduler, dataloader, booster, coor
for batch in pbar:
# Foward
# Forward
optimizer.zero_grad()
batch = move_to_cuda(batch, torch.cuda.current_device())