mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-19 20:52:23 +03:00
Remove old comment
This commit is contained in:
parent
4a4ef72191
commit
18444fccd9
|
@ -176,8 +176,6 @@ def span_embeddings_forward(
|
|||
|
||||
# first and last token embeds
|
||||
# XXX probably would be faster to get these at once
|
||||
# starts = [tokvecs[ii] for ii in mentions[:, 0]]
|
||||
# ends = [tokvecs[jj] for jj in mentions[:, 1]]
|
||||
starts, ends = zip(*[(tokvecs[ii], tokvecs[jj]) for ii, jj in mentions])
|
||||
|
||||
starts = ops.asarray2f(starts)
|
||||
|
|
Loading…
Reference in New Issue
Block a user