mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +03:00
Remove tensor property from token.
This commit is contained in:
parent
5d10e2005c
commit
09ab447a18
|
@ -10,7 +10,6 @@ cdef class Token:
|
||||||
cdef TokenC* c
|
cdef TokenC* c
|
||||||
cdef readonly int i
|
cdef readonly int i
|
||||||
cdef readonly Doc doc
|
cdef readonly Doc doc
|
||||||
cdef public ndarray tensor
|
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
cdef inline Token cinit(Vocab vocab, const TokenC* token, int offset, Doc doc):
|
cdef inline Token cinit(Vocab vocab, const TokenC* token, int offset, Doc doc):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user