This is an automated email from the ASF dual-hosted git repository.
indhub pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
The following commit(s) were added to refs/heads/master by this push:
new 73d8897 add TensorRT tutorial to index and fix ToC (#12587)
73d8897 is described below
commit 73d88974f8bca1e68441606fb0787a2cd17eb364
Author: Aaron Markham <[email protected]>
AuthorDate: Wed Sep 19 10:32:22 2018 -0700
add TensorRT tutorial to index and fix ToC (#12587)
* adding tensorrt tutorial to index
* fix toc for tutorials
* adding back new tutorials
* add control_flow index to whitelist
---
docs/tutorials/control_flow/index.md | 8 ++++++++
docs/tutorials/index.md | 4 +++-
tests/tutorials/test_sanity_tutorials.py | 1 +
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/docs/tutorials/control_flow/index.md
b/docs/tutorials/control_flow/index.md
new file mode 100644
index 0000000..87d7289
--- /dev/null
+++ b/docs/tutorials/control_flow/index.md
@@ -0,0 +1,8 @@
+# Tutorials
+
+```eval_rst
+.. toctree::
+ :glob:
+
+ *
+```
diff --git a/docs/tutorials/index.md b/docs/tutorials/index.md
index 8a6ac40..df1d892 100644
--- a/docs/tutorials/index.md
+++ b/docs/tutorials/index.md
@@ -3,9 +3,9 @@
```eval_rst
.. toctree::
:hidden:
-
basic/index.md
c++/index.md
+ control_flow/index.md
embedded/index.md
gluon/index.md
nlp/index.md
@@ -15,6 +15,7 @@
scala/index.md
sparse/index.md
speech_recognition/index.md
+ tensorrt/index.md
unsupervised_learning/index.md
vision/index.md
```
@@ -118,6 +119,7 @@ Select API:
* [Large-Scale Multi-Host Multi-GPU Image
Classification](/tutorials/vision/large_scale_classification.html)
* [Importing an ONNX model into
MXNet](/tutorials/onnx/super_resolution.html)
* [Hybridize Gluon models with control
flows](/tutorials/control_flow/ControlFlowTutorial.html)
+ * [Optimizing Deep Learning Computation Graphs with
TensorRT](/tutorials/tensorrt/inference_with_trt.html)
* API Guides
* Core APIs
* NDArray
diff --git a/tests/tutorials/test_sanity_tutorials.py
b/tests/tutorials/test_sanity_tutorials.py
index 0fa3ccb..f9fb0ac 100644
--- a/tests/tutorials/test_sanity_tutorials.py
+++ b/tests/tutorials/test_sanity_tutorials.py
@@ -27,6 +27,7 @@ import re
whitelist = ['basic/index.md',
'c++/basics.md',
'c++/index.md',
+ 'control_flow/index.md',
'embedded/index.md',
'embedded/wine_detector.md',
'gluon/index.md',