Restore basic profiling for Mode, since it is in its interface.
Always update the following properties of current mode, even if current
function does not have profiling statistics: call_time, fn_time,
optimizer_time, linker_time. Re-add these attributes in ProfileMode
(they exist in Mode).
This basic timing functionality is used in particular for timing the deep
learning tutorials.
正在显示
请
注册
或者
登录
后发表评论