Unverified Commit 9fde0e8e authored by Ke Li's avatar Ke Li Committed by GitHub
Browse files

Doc refactor:replace the pictures in model compression part (#4715)

parent 273f7650
...@@ -44,9 +44,10 @@ There are several core features supported by NNI model compression: ...@@ -44,9 +44,10 @@ There are several core features supported by NNI model compression:
.. rubric:: Compression Pipeline .. rubric:: Compression Pipeline
.. image:: ../../img/compression_flow.jpg .. image:: ../../img/compression_pipeline.png
:target: ../../img/compression_flow.jpg :target: ../../img/compression_pipeline.png
:alt: :alt:
:scale: 20%
The overall compression pipeline in NNI is shown above. For compressing a pretrained model, pruning and quantization can be used alone or in combination. The overall compression pipeline in NNI is shown above. For compressing a pretrained model, pruning and quantization can be used alone or in combination.
If users want to apply both, a sequential mode is recommended as common practise. If users want to apply both, a sequential mode is recommended as common practise.
...@@ -134,9 +135,9 @@ Given the output masks and quantization bits produced by those algorithms, NNI c ...@@ -134,9 +135,9 @@ Given the output masks and quantization bits produced by those algorithms, NNI c
The following figure shows how NNI prunes and speeds up your models. The following figure shows how NNI prunes and speeds up your models.
.. image:: ../../img/pipeline_compress.jpg .. image:: ../../img/nni_prune_process.png
:target: ../../img/pipeline_compress.jpg :target: ../../img/nni_prune_process.png
:scale: 40% :scale: 20%
:alt: :alt:
The detailed tutorial of Speedup Model with Mask can be found :doc:`here <../tutorials/cp_pruning_speedup>`. The detailed tutorial of Speedup Model with Mask can be found :doc:`here <../tutorials/cp_pruning_speedup>`.
......
.. 24e3b17b67378b92fbb84467e3b8c7eb .. 8ac41c7d9227a65de0d1445a1085f8ec
模型压缩 模型压缩
======== ========
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment