numpy.distutils.ccompiler_opt.CCompilerOpt.feature_implies #
方法
- distutils.ccompiler_opt.CCompilerOpt。feature_implies (名称, keep_origins = False ) [来源] #
- 返回“名称”暗示的一组 CPU 功能 - 参数:
- 命名str 或 str 序列
- CPU 功能名称以大写形式显示。 
- keep_origins布尔值
- 如果为 False(默认),则返回的集合将不包含“名称”中的任何功能。仅当两个特征相互暗示时才会发生这种情况。 
 
 - 例子 - >>> self.feature_implies("SSE3") {'SSE', 'SSE2'} >>> self.feature_implies("SSE2") {'SSE'} >>> self.feature_implies("SSE2", keep_origins=True) # 'SSE2' found here since 'SSE' and 'SSE2' imply each other {'SSE', 'SSE2'}