Tensorflow笔记

来源:互联网 发布:windows系统优化大师 编辑:程序博客网 时间:2024/06/13 08:59

性能:

https://www.tensorflow.org/performance/performance_guide

  • Build and install from source
  • Utilize queues for reading data
  • Preprocessing on the CPU :放在GPU,会CPU->GPU(Preprocessing)->CPU->GPU;放在CPU,加速6倍;
  • Use NCHW image data format
  • Place shared parameters on the GPU
  • Use fused batch norm : fused选项,让多个小操作放到同一个kernel里

0 0
原创粉丝点击