Import prefer_gpu and require_gpu functions from Thinc

This commit is contained in:
Matthew Honnibal 2018-10-14 23:03:06 +02:00
parent 9ebe607f82
commit 62c70b3163

View File

@ -4,6 +4,9 @@ import warnings
warnings.filterwarnings("ignore", message="numpy.dtype 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 .glossary import explain
from .about import __version__