numpy.distutils.ccompiler_opt.CCompilerOpt.feature_sorted#

方法

distutils.ccompiler_opt.CCompilerOpt.feature_sorted(names, reverse=False)[原始碼]#

排序 CPU 功能列表,依據最低關注度排序。

參數:
‘names’:序列

支援的功能名稱序列,以大寫表示。

‘reverse’:bool,選用

若為 true,則排序後的功能會反轉。(最高關注度)

返回:
list,排序後的 CPU 功能