numpy.distutils.ccompiler_opt.CCompilerOpt.feature_sorted#

方法

distutils.ccompiler_opt.CCompilerOpt.feature_sorted(names, reverse=False)[源代码]#

按最低兴趣排序 CPU 功能列表。

参数:
'names': 序列

支持的功能名称序列(大写)。

‘reverse’: bool, optional

如果为 True,则反转排序后的功能。(最高兴趣)

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