From 7868fb3ee6748398a0b41dcf84097003bee87449 Mon Sep 17 00:00:00 2001 From: tink2123 Date: Mon, 15 Oct 2018 01:13:32 -0700 Subject: [PATCH] update directory structure --- .../advanced_usage/development/cpu_profiling_cn.md | 1 - .../development/host_memory_profiling_cn.md | 1 - .../{ => development/profiling}/benchmark.rst | 0 .../development/profiling/cpu_profiling_cn.md | 1 + .../{ => profiling}/gpu_profiling_cn.rst | 0 .../profiling/host_memory_profiling_cn.md | 1 + .../advanced_usage/development/profiling/index.rst | 10 ++++++++++ .../development/{ => profiling}/nvvp1.png | Bin .../development/{ => profiling}/nvvp2.png | Bin .../development/{ => profiling}/nvvp3.png | Bin .../development/{ => profiling}/nvvp4.png | Bin .../development/{ => profiling}/pprof_1.png | Bin .../development/{ => profiling}/pprof_2.png | Bin .../development/{ => profiling}/timeline.jpeg | Bin .../development/profiling/timeline_cn.md | 1 + doc/fluid/advanced_usage/development/timeline_cn.md | 1 - doc/fluid/advanced_usage/index.rst | 6 +----- .../programming_guide/programming_guide.md | 2 +- doc/fluid/howto/optimization/timeline_cn.md | 2 +- doc/fluid/index_cn.rst | 1 - .../user_guides/design_idea/fluid_design_idea.md | 2 +- .../{ => evaluation_and_debugging}/debug/index.rst | 0 .../debug/visualdl.md | 2 +- .../evaluation/index.rst | 0 .../evaluation/metrics.rst | 0 .../howto/evaluation_and_debugging/index.rst | 9 +++++++++ doc/fluid/user_guides/index.rst | 3 +-- 27 files changed, 28 insertions(+), 15 deletions(-) delete mode 120000 doc/fluid/advanced_usage/development/cpu_profiling_cn.md delete mode 120000 doc/fluid/advanced_usage/development/host_memory_profiling_cn.md rename doc/fluid/advanced_usage/{ => development/profiling}/benchmark.rst (100%) create mode 120000 doc/fluid/advanced_usage/development/profiling/cpu_profiling_cn.md rename doc/fluid/advanced_usage/development/{ => profiling}/gpu_profiling_cn.rst (100%) create mode 120000 doc/fluid/advanced_usage/development/profiling/host_memory_profiling_cn.md create mode 100644 doc/fluid/advanced_usage/development/profiling/index.rst rename doc/fluid/advanced_usage/development/{ => profiling}/nvvp1.png (100%) rename doc/fluid/advanced_usage/development/{ => profiling}/nvvp2.png (100%) rename doc/fluid/advanced_usage/development/{ => profiling}/nvvp3.png (100%) rename doc/fluid/advanced_usage/development/{ => profiling}/nvvp4.png (100%) rename doc/fluid/advanced_usage/development/{ => profiling}/pprof_1.png (100%) rename doc/fluid/advanced_usage/development/{ => profiling}/pprof_2.png (100%) rename doc/fluid/advanced_usage/development/{ => profiling}/timeline.jpeg (100%) create mode 120000 doc/fluid/advanced_usage/development/profiling/timeline_cn.md delete mode 120000 doc/fluid/advanced_usage/development/timeline_cn.md rename doc/fluid/user_guides/howto/{ => evaluation_and_debugging}/debug/index.rst (100%) rename doc/fluid/user_guides/howto/{ => evaluation_and_debugging}/debug/visualdl.md (99%) rename doc/fluid/user_guides/howto/{ => evaluation_and_debugging}/evaluation/index.rst (100%) rename doc/fluid/user_guides/howto/{ => evaluation_and_debugging}/evaluation/metrics.rst (100%) create mode 100644 doc/fluid/user_guides/howto/evaluation_and_debugging/index.rst diff --git a/doc/fluid/advanced_usage/development/cpu_profiling_cn.md b/doc/fluid/advanced_usage/development/cpu_profiling_cn.md deleted file mode 120000 index ba942e9c0..000000000 --- a/doc/fluid/advanced_usage/development/cpu_profiling_cn.md +++ /dev/null @@ -1 +0,0 @@ -../../howto/optimization/cpu_profiling_cn.md \ No newline at end of file diff --git a/doc/fluid/advanced_usage/development/host_memory_profiling_cn.md b/doc/fluid/advanced_usage/development/host_memory_profiling_cn.md deleted file mode 120000 index 6d794d87d..000000000 --- a/doc/fluid/advanced_usage/development/host_memory_profiling_cn.md +++ /dev/null @@ -1 +0,0 @@ -../../howto/optimization/host_memory_profiling_cn.md \ No newline at end of file diff --git a/doc/fluid/advanced_usage/benchmark.rst b/doc/fluid/advanced_usage/development/profiling/benchmark.rst similarity index 100% rename from doc/fluid/advanced_usage/benchmark.rst rename to doc/fluid/advanced_usage/development/profiling/benchmark.rst diff --git a/doc/fluid/advanced_usage/development/profiling/cpu_profiling_cn.md b/doc/fluid/advanced_usage/development/profiling/cpu_profiling_cn.md new file mode 120000 index 000000000..1381a3b05 --- /dev/null +++ b/doc/fluid/advanced_usage/development/profiling/cpu_profiling_cn.md @@ -0,0 +1 @@ +../../../howto/optimization/cpu_profiling_cn.md \ No newline at end of file diff --git a/doc/fluid/advanced_usage/development/gpu_profiling_cn.rst b/doc/fluid/advanced_usage/development/profiling/gpu_profiling_cn.rst similarity index 100% rename from doc/fluid/advanced_usage/development/gpu_profiling_cn.rst rename to doc/fluid/advanced_usage/development/profiling/gpu_profiling_cn.rst diff --git a/doc/fluid/advanced_usage/development/profiling/host_memory_profiling_cn.md b/doc/fluid/advanced_usage/development/profiling/host_memory_profiling_cn.md new file mode 120000 index 000000000..904968ba4 --- /dev/null +++ b/doc/fluid/advanced_usage/development/profiling/host_memory_profiling_cn.md @@ -0,0 +1 @@ +../../../howto/optimization/host_memory_profiling_cn.md \ No newline at end of file diff --git a/doc/fluid/advanced_usage/development/profiling/index.rst b/doc/fluid/advanced_usage/development/profiling/index.rst new file mode 100644 index 000000000..1d2eedc43 --- /dev/null +++ b/doc/fluid/advanced_usage/development/profiling/index.rst @@ -0,0 +1,10 @@ +########## +性能调优 +########## +.. toctree:: + + benchmark.rst + cpu_profiling_cn.md + gpu_profiling_cn.rst + host_memory_profiling_cn.md + timeline_cn.md diff --git a/doc/fluid/advanced_usage/development/nvvp1.png b/doc/fluid/advanced_usage/development/profiling/nvvp1.png similarity index 100% rename from doc/fluid/advanced_usage/development/nvvp1.png rename to doc/fluid/advanced_usage/development/profiling/nvvp1.png diff --git a/doc/fluid/advanced_usage/development/nvvp2.png b/doc/fluid/advanced_usage/development/profiling/nvvp2.png similarity index 100% rename from doc/fluid/advanced_usage/development/nvvp2.png rename to doc/fluid/advanced_usage/development/profiling/nvvp2.png diff --git a/doc/fluid/advanced_usage/development/nvvp3.png b/doc/fluid/advanced_usage/development/profiling/nvvp3.png similarity index 100% rename from doc/fluid/advanced_usage/development/nvvp3.png rename to doc/fluid/advanced_usage/development/profiling/nvvp3.png diff --git a/doc/fluid/advanced_usage/development/nvvp4.png b/doc/fluid/advanced_usage/development/profiling/nvvp4.png similarity index 100% rename from doc/fluid/advanced_usage/development/nvvp4.png rename to doc/fluid/advanced_usage/development/profiling/nvvp4.png diff --git a/doc/fluid/advanced_usage/development/pprof_1.png b/doc/fluid/advanced_usage/development/profiling/pprof_1.png similarity index 100% rename from doc/fluid/advanced_usage/development/pprof_1.png rename to doc/fluid/advanced_usage/development/profiling/pprof_1.png diff --git a/doc/fluid/advanced_usage/development/pprof_2.png b/doc/fluid/advanced_usage/development/profiling/pprof_2.png similarity index 100% rename from doc/fluid/advanced_usage/development/pprof_2.png rename to doc/fluid/advanced_usage/development/profiling/pprof_2.png diff --git a/doc/fluid/advanced_usage/development/timeline.jpeg b/doc/fluid/advanced_usage/development/profiling/timeline.jpeg similarity index 100% rename from doc/fluid/advanced_usage/development/timeline.jpeg rename to doc/fluid/advanced_usage/development/profiling/timeline.jpeg diff --git a/doc/fluid/advanced_usage/development/profiling/timeline_cn.md b/doc/fluid/advanced_usage/development/profiling/timeline_cn.md new file mode 120000 index 000000000..a05540e82 --- /dev/null +++ b/doc/fluid/advanced_usage/development/profiling/timeline_cn.md @@ -0,0 +1 @@ +../../../howto/optimization/timeline_cn.md \ No newline at end of file diff --git a/doc/fluid/advanced_usage/development/timeline_cn.md b/doc/fluid/advanced_usage/development/timeline_cn.md deleted file mode 120000 index 06f615cb3..000000000 --- a/doc/fluid/advanced_usage/development/timeline_cn.md +++ /dev/null @@ -1 +0,0 @@ -../../howto/optimization/timeline_cn.md \ No newline at end of file diff --git a/doc/fluid/advanced_usage/index.rst b/doc/fluid/advanced_usage/index.rst index 9ec55bc15..7d7a3e674 100644 --- a/doc/fluid/advanced_usage/index.rst +++ b/doc/fluid/advanced_usage/index.rst @@ -15,8 +15,4 @@ development/contribute_to_paddle.md development/write_docs.rst development/new_op.md - development/cpu_profiling_cn.md - development/gpu_profiling_cn.rst - development/host_memory_profiling_cn.md - development/timeline_cn.md - benchmark.rst + development/profiling/index.rst diff --git a/doc/fluid/beginners_guide/programming_guide/programming_guide.md b/doc/fluid/beginners_guide/programming_guide/programming_guide.md index f7b929df1..04d542c93 100644 --- a/doc/fluid/beginners_guide/programming_guide/programming_guide.md +++ b/doc/fluid/beginners_guide/programming_guide/programming_guide.md @@ -1,5 +1,5 @@ -# Paddle Fluid编程指南 +# Fluid编程指南 本文档将指导您如何用Fluid API编程并搭建一个简单的神经网络。阅读完本文档,您将掌握: diff --git a/doc/fluid/howto/optimization/timeline_cn.md b/doc/fluid/howto/optimization/timeline_cn.md index faf39f276..baf5da6bb 100644 --- a/doc/fluid/howto/optimization/timeline_cn.md +++ b/doc/fluid/howto/optimization/timeline_cn.md @@ -1,4 +1,4 @@ -# 如何使用timeline工具做性能分析 +# timeline工具简介 1. 在训练的主循环外加上`profiler.start_profiler(...)`和`profiler.stop_profiler(...)`。运行之后,代码会在`/tmp/profile`目录下生成一个profile的记录文件。 diff --git a/doc/fluid/index_cn.rst b/doc/fluid/index_cn.rst index c7dcec858..42ff490b2 100644 --- a/doc/fluid/index_cn.rst +++ b/doc/fluid/index_cn.rst @@ -13,5 +13,4 @@ beginners_guide/index.rst user_guides/index.rst advanced_usage/index.rst - faq/index_cn.rst api_guides/index_cn.rst diff --git a/doc/fluid/user_guides/design_idea/fluid_design_idea.md b/doc/fluid/user_guides/design_idea/fluid_design_idea.md index 37fbf75eb..54d89b69e 100644 --- a/doc/fluid/user_guides/design_idea/fluid_design_idea.md +++ b/doc/fluid/user_guides/design_idea/fluid_design_idea.md @@ -1,4 +1,4 @@ -# Paddle Fluid设计思想 +# Fluid设计思想 ## 简介 diff --git a/doc/fluid/user_guides/howto/debug/index.rst b/doc/fluid/user_guides/howto/evaluation_and_debugging/debug/index.rst similarity index 100% rename from doc/fluid/user_guides/howto/debug/index.rst rename to doc/fluid/user_guides/howto/evaluation_and_debugging/debug/index.rst diff --git a/doc/fluid/user_guides/howto/debug/visualdl.md b/doc/fluid/user_guides/howto/evaluation_and_debugging/debug/visualdl.md similarity index 99% rename from doc/fluid/user_guides/howto/debug/visualdl.md rename to doc/fluid/user_guides/howto/evaluation_and_debugging/debug/visualdl.md index b8de28eca..747f32c31 100644 --- a/doc/fluid/user_guides/howto/debug/visualdl.md +++ b/doc/fluid/user_guides/howto/evaluation_and_debugging/debug/visualdl.md @@ -1,4 +1,4 @@ -# VisualDL (Visualize the Deep Learning) +# Visual DL工具

diff --git a/doc/fluid/user_guides/howto/evaluation/index.rst b/doc/fluid/user_guides/howto/evaluation_and_debugging/evaluation/index.rst similarity index 100% rename from doc/fluid/user_guides/howto/evaluation/index.rst rename to doc/fluid/user_guides/howto/evaluation_and_debugging/evaluation/index.rst diff --git a/doc/fluid/user_guides/howto/evaluation/metrics.rst b/doc/fluid/user_guides/howto/evaluation_and_debugging/evaluation/metrics.rst similarity index 100% rename from doc/fluid/user_guides/howto/evaluation/metrics.rst rename to doc/fluid/user_guides/howto/evaluation_and_debugging/evaluation/metrics.rst diff --git a/doc/fluid/user_guides/howto/evaluation_and_debugging/index.rst b/doc/fluid/user_guides/howto/evaluation_and_debugging/index.rst new file mode 100644 index 000000000..e2395bc09 --- /dev/null +++ b/doc/fluid/user_guides/howto/evaluation_and_debugging/index.rst @@ -0,0 +1,9 @@ +############### +模型评估/调试 +############### + +.. toctree:: + :maxdepth: 2 + + evaluation/metrics.rst + debug/visualdl.md diff --git a/doc/fluid/user_guides/index.rst b/doc/fluid/user_guides/index.rst index 62561b01d..1ed2df77f 100644 --- a/doc/fluid/user_guides/index.rst +++ b/doc/fluid/user_guides/index.rst @@ -13,8 +13,7 @@ howto/prepare_data/index howto/configure_simple_model/index howto/training/index - howto/debug/index - howto/evaluation/index + howto/evaluation_and_debugging/index howto/inference/index models/index.rst design_idea/fluid_design_idea.md -- GitLab