mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-05 04:40:20 +03:00
black formatting
This commit is contained in:
parent
5903138ab6
commit
f8672c4dc2
|
@ -211,8 +211,9 @@ def forward(model, docs_moves: Tuple[List[Doc], TransitionSystem], is_train: boo
|
||||||
return (states, all_scores), backprop_parser
|
return (states, all_scores), backprop_parser
|
||||||
|
|
||||||
|
|
||||||
|
def _forward_reference(
|
||||||
def _forward_reference(model, docs_moves: Tuple[List[Doc], TransitionSystem], is_train: bool):
|
model, docs_moves: Tuple[List[Doc], TransitionSystem], is_train: bool
|
||||||
|
):
|
||||||
"""Slow reference implementation, without the precomputation"""
|
"""Slow reference implementation, without the precomputation"""
|
||||||
nF = model.get_dim("nF")
|
nF = model.get_dim("nF")
|
||||||
tok2vec = model.get_ref("tok2vec")
|
tok2vec = model.get_ref("tok2vec")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user