Tensorflow takes >1 min on first run on video card with 5.0 compute capability

前端 未结 2 1677
深忆病人
深忆病人 2021-01-13 18:40

I\'m running tensorflow 0.8.0 for python3 (pip installation), and the following file test.py:

import tensorflow as tf                                    


        
2条回答
  •  南笙
    南笙 (楼主)
    2021-01-13 19:07

    The first call to eval() or run() is typically much slower than subsequent calls since it needs to setup the session. Subsequent calls to eval/run are typically much faster.

提交回复
热议问题