mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 04:08:09 +03:00
Update naming [ci skip]
This commit is contained in:
parent
809f6282f2
commit
2cdfcd2d19
|
@ -940,7 +940,7 @@ import spacy
|
||||||
from spacy.tokens import Doc
|
from spacy.tokens import Doc
|
||||||
|
|
||||||
@spacy.registry.architectures("custom_neural_network.v1")
|
@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)
|
return create_model(output_width)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user