:orphan: .. _sphx_glr_tutorials: ================= Tutorials ================= This page contains the tutorials about CINN. --------- Run demo --------- Compile ``demo.cc``:: cd build/dist bash build_demo.sh .. raw:: html
.. only:: html .. figure:: /tutorials/images/thumb/sphx_glr_jit_thumb.png :alt: JIT in CINN :ref:`sphx_glr_tutorials_jit.py` .. raw:: html
.. toctree:: :hidden: /tutorials/jit .. raw:: html
.. only:: html .. figure:: /tutorials/images/thumb/sphx_glr_cinn_builder_thumb.png :alt: Run model by using CinnBuilder API :ref:`sphx_glr_tutorials_cinn_builder.py` .. raw:: html
.. toctree:: :hidden: /tutorials/cinn_builder .. raw:: html
.. only:: html .. figure:: /tutorials/images/thumb/sphx_glr_load_paddle_model_thumb.png :alt: Load and Execute Paddle Model :ref:`sphx_glr_tutorials_load_paddle_model.py` .. raw:: html
.. toctree:: :hidden: /tutorials/load_paddle_model .. raw:: html
.. only:: html .. figure:: /tutorials/images/thumb/sphx_glr_net_builder_thumb.png :alt: Run model by using NetBuilder API :ref:`sphx_glr_tutorials_net_builder.py` .. raw:: html
.. toctree:: :hidden: /tutorials/net_builder .. raw:: html
.. only:: html .. figure:: /tutorials/images/thumb/sphx_glr_train_resnet50_with_cinn_thumb.png :alt: Training ResNet50 using Paddle compiled with CINN :ref:`sphx_glr_tutorials_train_resnet50_with_cinn.py` .. raw:: html
.. toctree:: :hidden: /tutorials/train_resnet50_with_cinn .. raw:: html
.. only:: html .. figure:: /tutorials/images/thumb/sphx_glr_matmul_thumb.png :alt: Ways to optimize Matrix Multiplication on CPU :ref:`sphx_glr_tutorials_matmul.py` .. raw:: html
.. toctree:: :hidden: /tutorials/matmul .. raw:: html
.. only:: html .. figure:: /tutorials/images/thumb/sphx_glr_schedule_primitives_thumb.png :alt: Schedule Primitives in CINN :ref:`sphx_glr_tutorials_schedule_primitives.py` .. raw:: html
.. toctree:: :hidden: /tutorials/schedule_primitives .. raw:: html
.. only :: html .. container:: sphx-glr-footer :class: sphx-glr-footer-gallery .. container:: sphx-glr-download sphx-glr-download-python :download:`Download all examples in Python source code: tutorials_python.zip ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download all examples in Jupyter notebooks: tutorials_jupyter.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_