mirror of https://github.com/explosion/spaCy.git
963bd890c1
* Modify Vector.resize to work with cupy Modify `Vectors.resize` to work with cupy. Modify behavior when resizing to a different vector dimension so that individual vectors are truncated or extended with zeros instead of having the original values filled into the new shape without regard for the original axes. * Update spacy/tests/vocab_vectors/test_vectors.py Co-Authored-By: Matthew Honnibal <honnibal+gh@gmail.com> Co-authored-by: Matthew Honnibal <honnibal+gh@gmail.com> |
||
---|---|---|
.. | ||
__init__.py | ||
test_lexeme.py | ||
test_lookups.py | ||
test_similarity.py | ||
test_stringstore.py | ||
test_vectors.py | ||
test_vocab_api.py |