mirror of https://github.com/explosion/spaCy.git
Remove default value
This commit is contained in:
parent
44b5542d14
commit
99842387cb
|
@ -1674,10 +1674,7 @@ class Language:
|
|||
return nlp
|
||||
|
||||
def replace_listeners(
|
||||
self,
|
||||
tok2vec_name: str,
|
||||
pipe_name: str,
|
||||
listeners: Iterable[str] = SimpleFrozenList(),
|
||||
self, tok2vec_name: str, pipe_name: str, listeners: Iterable[str],
|
||||
) -> None:
|
||||
"""Find listener layers (connecting to a token-to-vector embedding
|
||||
component) of a given pipeline component model and replace
|
||||
|
|
Loading…
Reference in New Issue