mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-07 13:44:55 +03:00
Format
This commit is contained in:
parent
6f3210ebb9
commit
7550b7b93e
|
@ -243,7 +243,6 @@ cdef class Vectors:
|
|||
else:
|
||||
return key in self.key2row
|
||||
|
||||
|
||||
def __eq__(self, other):
|
||||
# Check for equality, with faster checks first
|
||||
return (
|
||||
|
@ -253,7 +252,6 @@ cdef class Vectors:
|
|||
== other.to_bytes(exclude=["strings"])
|
||||
)
|
||||
|
||||
|
||||
def resize(self, shape, inplace=False):
|
||||
"""Resize the underlying vectors array. If inplace=True, the memory
|
||||
is reallocated. This may cause other references to the data to become
|
||||
|
|
Loading…
Reference in New Issue
Block a user