我可以用 TensorFlow 测量单个操作的执行时间吗? [英] Can I measure the execution time of individual operations with TensorFlow?

查看:32
本文介绍了我可以用 TensorFlow 测量单个操作的执行时间吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道我可以测量对 sess.run() 调用的执行时间,但是否有可能获得更细的粒度并测量单个操作的执行时间?

I know I can measure the execution time of a call to sess.run(), but is it possible to get a finer granularity and measure the execution time of individual operations?

推荐答案

在公开版本中还没有办法做到这一点.我们知道这是一个重要的功能,我们正在努力.

There is not yet a way to do this in the public release. We are aware that it's an important feature and we are working on it.

这篇关于我可以用 TensorFlow 测量单个操作的执行时间吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆