mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-10 00:02:19 +03:00
Remove stray .tensor attribute from Lexeme
This commit is contained in:
parent
9258db788a
commit
a45a9d5092
|
@ -15,7 +15,6 @@ cdef class Lexeme:
|
||||||
cdef LexemeC* c
|
cdef LexemeC* c
|
||||||
cdef readonly Vocab vocab
|
cdef readonly Vocab vocab
|
||||||
cdef readonly attr_t orth
|
cdef readonly attr_t orth
|
||||||
cdef public ndarray tensor
|
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
cdef inline Lexeme from_ptr(LexemeC* lex, Vocab vocab, int vector_length):
|
cdef inline Lexeme from_ptr(LexemeC* lex, Vocab vocab, int vector_length):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user