王太乙 2021-01-06 21:48 采纳率: 33.3%
浏览 891

要在其他操作中启用它们,请使用适当的编译器标志重建TensorFlow。怎么解决?

2021-01-06 21:41:41.293904: I tensorflow/compiler/jit/xla_cpu_device.cc:41] Not creating XLA devices, tf_xla_enable_xla_devices not set
2021-01-06 21:41:41.294174: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.

2021-01-06 21:41:41.293904:I tensorflow / compiler / jit / xla_cpu_device.cc:41]未创建XLA设备,未设置tf_xla_enable_xla_devices
2021-01-06 21:41:41.294174:我tensorflow / core / platform / cpu_feature_guard.cc:142]此TensorFlow二进制文件已通过oneAPI深度神经网络库(oneDNN)进行了优化,以在性能至关重要的操作中使用以下CPU指令: AVX2 FMA
要在其他操作中启用它们,请使用适当的编译器标志重建TensorFlow。

  • 写回答

4条回答 默认 最新

  • 大面饼子~ 2022-11-30 23:25
    关注

    import os
    os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'
    亲测有用

    评论

报告相同问题?

悬赏问题

  • ¥15 孟德尔随机化结果不一致
  • ¥15 深度学习残差模块模型
  • ¥50 怎么判断同步时序逻辑电路和异步时序逻辑电路
  • ¥15 差动电流二次谐波的含量Matlab计算
  • ¥15 Can/caned 总线错误问题,错误显示控制器要发1,结果总线检测到0
  • ¥15 C#如何调用串口数据
  • ¥15 MATLAB与单片机串口通信
  • ¥15 L76k模块的GPS的使用
  • ¥15 请帮我看一看数电项目如何设计
  • ¥23 (标签-bug|关键词-密码错误加密)