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:
Brian Wignall
2020-01-17 16:01:29 -08:00
committed by Facebook Github Bot
parent c8ca70e39d
commit f326045b37
252 changed files with 284 additions and 284 deletions

View File

@ -125,7 +125,7 @@ graph(%a):
AT_ASSERT(graph->inputs()[0]->type()->isSubtypeOf(TensorType::get()));
}
{
// Check that parser corectly handles values reusing the same name.
// Check that parser correctly handles values reusing the same name.
auto graph = std::make_shared<Graph>();
script::parseIR(
R"IR(