Update naming [ci skip]

This commit is contained in:
Ines Montani 2021-02-03 12:48:31 +11:00
parent 809f6282f2
commit 2cdfcd2d19

View File

@ -940,7 +940,7 @@ import spacy
from spacy.tokens import Doc
@spacy.registry.architectures("custom_neural_network.v1")
def MyModel(output_width: int) -> Model[List[Doc], List[Floats2d]]:
def custom_neural_network(output_width: int) -> Model[List[Doc], List[Floats2d]]:
return create_model(output_width)
```