mirror of https://github.com/explosion/spaCy.git
Update formatting [ci skip]
This commit is contained in:
parent
0a8455a7fd
commit
b7afd09d27
|
@ -327,8 +327,9 @@ model, and the output dimension will be
|
||||||
> can_resize = pipe.is_resizable()
|
> can_resize = pipe.is_resizable()
|
||||||
> ```
|
> ```
|
||||||
>
|
>
|
||||||
|
> With custom resizing implemented by a component:
|
||||||
|
>
|
||||||
> ```python
|
> ```python
|
||||||
> ### Custom resizing
|
|
||||||
> def custom_resize(model, new_nO):
|
> def custom_resize(model, new_nO):
|
||||||
> # adjust model
|
> # adjust model
|
||||||
> return model
|
> return model
|
||||||
|
|
Loading…
Reference in New Issue