From 205cadf6b774e0854b1f68c5b7b44163f7ac1095 Mon Sep 17 00:00:00 2001 From: qiaolongfei Date: Thu, 8 Mar 2018 09:27:07 +0800 Subject: [PATCH] typo --- doc/fluid/howto/optimization/timeline.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/fluid/howto/optimization/timeline.md b/doc/fluid/howto/optimization/timeline.md index 57b48a47fec..9d9565a3e69 100644 --- a/doc/fluid/howto/optimization/timeline.md +++ b/doc/fluid/howto/optimization/timeline.md @@ -1,6 +1,6 @@ ## how to use timeline tool to do profile -1. Add `with profiler.profiler(...)` to the main training loop. After run, the code will generate a profile record file `/tmp/profile`. **Warning**: Please do not run too many batches when use profiler to record timeline infomation, for the profile record will grow with the batch number. +1. Add `with profiler.profiler(...)` to the main training loop. After run, the code will generate a profile record file `/tmp/profile`. **Warning**: Please do not run too many batches when use profiler to record timeline information, for the profile record will grow with the batch number. ```python with profiler.profiler('All', 'total', '/tmp/profile') as prof: -- GitLab