mirror of
https://github.com/zebrajr/pytorch.git
synced 2026-01-15 12:15:51 +00:00
Fix typos, via a Levenshtein-type corrector (#31523)
Summary: Should be non-semantic. Uses https://en.wikipedia.org/wiki/Wikipedia:Lists_of_common_misspellings/For_machines to find likely typos, with https://github.com/bwignall/typochecker to help automate the checking. Uses an updated version of the tool used in https://github.com/pytorch/pytorch/pull/30606 . Pull Request resolved: https://github.com/pytorch/pytorch/pull/31523 Differential Revision: D19216749 Pulled By: mrshenli fbshipit-source-id: 7fd489cb9a77cd7e4950c1046f925d57524960ea
This commit is contained in:
committed by
Facebook Github Bot
parent
c8ca70e39d
commit
f326045b37
@@ -439,7 +439,7 @@ def Train(args):
|
||||
stepsz = int(30 * args.epoch_size / total_batch_size / num_shards)
|
||||
|
||||
if args.float16_compute:
|
||||
# TODO: merge with multi-prceision optimizer
|
||||
# TODO: merge with multi-precision optimizer
|
||||
opt = optimizer.build_fp16_sgd(
|
||||
model,
|
||||
args.base_learning_rate,
|
||||
|
||||
Reference in New Issue
Block a user