numpy.show_runtime#

numpy.show_runtime()[源]#

打印系统中各种资源的信息,包括可用的内在支持和正在使用的 BLAS/LAPACK 库

1.24.0 版中新增。

另请参阅

show_config

显示构建 NumPy 时系统中使用的库。

注意

  1. 如果可用,信息是借助 threadpoolctl 库获得的。

  2. SIMD 相关信息来源于 __cpu_features____cpu_baseline____cpu_dispatch__