• Pascal Lamblin's avatar
    Restore basic profiling for Mode, since it is in its interface. · 600c40e7
    Pascal Lamblin 提交于
    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.
    600c40e7
function_module.py 52.1 KB