mirror of https://github.com/explosion/spaCy.git
a06cbae70d
* precompute_hiddens/Parser: do not look up CPU ops `get_ops("cpu")` is quite expensive. To avoid this, we want to cache the result as in #11068. However, for 3.x we do not want to change the ABI. So we avoid the expensive lookup by using NumpyOps. This should have a minimal impact, since `get_ops("cpu")` was only used when the model ops were `CupyOps`. If the ops are `AppleOps`, we are still passing through the correct BLAS implementation. * _NUMPY_OPS -> NUMPY_OPS |
||
---|---|---|
.. | ||
models | ||
__init__.py | ||
_character_embed.py | ||
_precomputable_affine.py | ||
callbacks.py | ||
extract_ngrams.py | ||
extract_spans.py | ||
featureextractor.py | ||
parser_model.pxd | ||
parser_model.pyx | ||
staticvectors.py | ||
tb_framework.py |