This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:
AVX AVX2
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
环境中安装的tensorflow在编译时没有正确设置旗标(compiler flag),导致tensorflow不能利用AVX AVX2指令集
可以通过重新安装intel提供的tensorflow-intel解决
pip install tensorflow-intel
注意调整keras到对应版本
具体可见:
tensorflow-intel