indhub closed pull request #12587: add TensorRT tutorial to index and fix ToC
URL: https://github.com/apache/incubator-mxnet/pull/12587
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/docs/tutorials/control_flow/index.md 
b/docs/tutorials/control_flow/index.md
new file mode 100644
index 00000000000..87d72894424
--- /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 8a6ac4081c0..df1d892247b 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 0fa3ccb14e3..f9fb0ac2c49 100644
--- a/tests/tutorials/test_sanity_tutorials.py
+++ b/tests/tutorials/test_sanity_tutorials.py
@@ -27,6 +27,7 @@
 whitelist = ['basic/index.md',
              'c++/basics.md',
              'c++/index.md',
+             'control_flow/index.md',
              'embedded/index.md',
              'embedded/wine_detector.md',
              'gluon/index.md',


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to