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

Commit 70fa4aa

Browse files
tomsherbornejoelgrus
authored andcommitted
Typo in initializers.py (#3016)
1 parent c85dcfc commit 70fa4aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

allennlp/nn/initializers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ def __call__(self, module: torch.nn.Module) -> None:
298298
for initializer_regex, initializer in self._initializers:
299299
allow = self._prevent_regex is None or not bool(re.search(self._prevent_regex, name))
300300
if allow and re.search(initializer_regex, name):
301-
logger.info("Initializing %s using %s intitializer", name, initializer_regex)
301+
logger.info("Initializing %s using %s initializer", name, initializer_regex)
302302
initializer(parameter, parameter_name=name)
303303
unused_regexes.discard(initializer_regex)
304304
break

0 commit comments

Comments
 (0)