Scipy的distance.cdist函数只是单线程还是可以使它成为多线程?
我在计算机上测试了它,两侧都有非常大的矩阵((1000000,100)和(10,100))并且只使用了一个CPU。我的设置如下,表明我安装了BLAS:
>>> import scipy
>>> scipy.__config__.show()
openblas_info:
library_dirs = ['/usr/local/lib']
language = f77
libraries = ['openblas']
openblas_lapack_info:
library_dirs = ['/usr/local/lib']
language = f77
libraries = ['openblas']
blas_opt_info:
library_dirs = ['/usr/local/lib']
language = f77
libraries = ['openblas']
lapack_opt_info:
library_dirs = ['/usr/local/lib']
language = f77
libraries = ['openblas']
blas_mkl_info:
NOT AVAILABLE