Remove default value

This commit is contained in:
Ines Montani 2021-01-29 18:45:37 +11:00
parent 44b5542d14
commit 99842387cb
1 changed files with 1 additions and 4 deletions

View File

@ -1674,10 +1674,7 @@ class Language:
return nlp return nlp
def replace_listeners( def replace_listeners(
self, self, tok2vec_name: str, pipe_name: str, listeners: Iterable[str],
tok2vec_name: str,
pipe_name: str,
listeners: Iterable[str] = SimpleFrozenList(),
) -> None: ) -> None:
"""Find listener layers (connecting to a token-to-vector embedding """Find listener layers (connecting to a token-to-vector embedding
component) of a given pipeline component model and replace component) of a given pipeline component model and replace