mirror of https://github.com/explosion/spaCy.git
Fix reference to thinc copy_array util
This commit is contained in:
parent
9805e0e369
commit
490b38e6bb
|
@ -6,7 +6,7 @@ import ftfy
|
||||||
import sys
|
import sys
|
||||||
import ujson
|
import ujson
|
||||||
|
|
||||||
import thinc.neural.util
|
from thinc.neural.util import copy_array
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import cPickle as pickle
|
import cPickle as pickle
|
||||||
|
@ -34,7 +34,7 @@ copy_reg = copy_reg
|
||||||
CudaStream = CudaStream
|
CudaStream = CudaStream
|
||||||
cupy = cupy
|
cupy = cupy
|
||||||
fix_text = ftfy.fix_text
|
fix_text = ftfy.fix_text
|
||||||
copy_array = thinc.neural.util.copy_array
|
copy_array = copy_array
|
||||||
|
|
||||||
is_python2 = six.PY2
|
is_python2 = six.PY2
|
||||||
is_python3 = six.PY3
|
is_python3 = six.PY3
|
||||||
|
|
Loading…
Reference in New Issue