spaCy/spacy/tests/pipeline
Adriane Boyd 749631ad28 Fix Tok2Vec for empty batches (#10324)
* Add test for tok2vec with vectors and empty docs

* Add shortcut for empty batch in Tok2Vec.predict

* Avoid types
2022-02-21 14:33:16 +01:00
..
__init__.py Revert #4334 2019-09-29 17:32:12 +02:00
test_analysis.py Simplify pipe analysis 2020-08-01 13:40:06 +02:00
test_attributeruler.py Tidy up and auto-format 2021-01-05 13:41:53 +11:00
test_entity_linker.py Filter W036 for entity ruler, etc. (#8424) 2021-07-16 15:48:19 +02:00
test_entity_ruler.py Filter W036 for entity ruler, etc. (#8424) 2021-07-16 15:48:19 +02:00
test_functions.py Add token_splitter component (#6726) 2021-01-17 19:54:41 +08:00
test_initialize.py Test with default value 2020-09-29 17:00:40 +02:00
test_lemmatizer.py Use morph hash in lemmatizer cache key (#7690) 2021-04-08 13:22:38 +02:00
test_models.py Set up GPU CI testing (#7293) 2021-04-22 14:58:29 +02:00
test_morphologizer.py Handle unset token.morph in Morphologizer (#6704) 2021-01-15 17:20:10 +01:00
test_pipe_factories.py Fix scoring normalization (#7629) 2021-07-16 15:47:55 +02:00
test_pipe_methods.py fix NEL config and IO, and n_sents functionality (#7100) 2021-02-22 14:49:52 +11:00
test_sentencizer.py Refactor Docs.is_ flags (#6044) 2020-09-17 00:14:01 +02:00
test_senter.py adding tests for trained models to ensure predict reproducibility 2020-10-13 21:07:13 +02:00
test_tagger.py Sync missing and misaligned values in Tagger loss (#6689) 2021-01-10 11:30:37 +11:00
test_textcat.py Raise an error for textcat with <2 labels (#8584) 2021-07-16 15:48:42 +02:00
test_tok2vec.py Fix Tok2Vec for empty batches (#10324) 2022-02-21 14:33:16 +01:00