Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Commit

Permalink
Typo in initializers.py (#3016)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsherborne authored and joelgrus committed Jun 28, 2019
1 parent c85dcfc commit 70fa4aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion allennlp/nn/initializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def __call__(self, module: torch.nn.Module) -> None:
for initializer_regex, initializer in self._initializers:
allow = self._prevent_regex is None or not bool(re.search(self._prevent_regex, name))
if allow and re.search(initializer_regex, name):
logger.info("Initializing %s using %s intitializer", name, initializer_regex)
logger.info("Initializing %s using %s initializer", name, initializer_regex)
initializer(parameter, parameter_name=name)
unused_regexes.discard(initializer_regex)
break
Expand Down

0 comments on commit 70fa4aa

Please sign in to comment.