mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +03:00
Import prefer_gpu and require_gpu functions from Thinc
This commit is contained in:
parent
9ebe607f82
commit
62c70b3163
|
@ -4,6 +4,9 @@ import warnings
|
||||||
warnings.filterwarnings("ignore", message="numpy.dtype size changed")
|
warnings.filterwarnings("ignore", message="numpy.dtype size changed")
|
||||||
warnings.filterwarnings("ignore", message="numpy.ufunc size changed")
|
warnings.filterwarnings("ignore", message="numpy.ufunc size changed")
|
||||||
|
|
||||||
|
# These are imported as part of the API
|
||||||
|
from thinc.neural.util import prefer_gpu, require_gpu
|
||||||
|
|
||||||
from .cli.info import info as cli_info
|
from .cli.info import info as cli_info
|
||||||
from .glossary import explain
|
from .glossary import explain
|
||||||
from .about import __version__
|
from .about import __version__
|
||||||
|
|
Loading…
Reference in New Issue
Block a user