|
19 | 19 | ================================ |
20 | 20 | **Author**: `Masahiro Masuda <https://github.com/masahi>`_ |
21 | 21 |
|
22 | | -This is an a tutorial on loading models quantized by deep learning frameworks into TVM. |
| 22 | +This is a tutorial on loading models quantized by deep learning frameworks into TVM. |
23 | 23 | Pre-quantized model import is one of the quantization support we have in TVM. More details on |
24 | 24 | the quantization story in TVM can be found |
25 | 25 | `here <https://discuss.tvm.ai/t/quantization-story/3920>`_. |
26 | 26 |
|
27 | 27 | Here, we demonstrate how to load and run models quantized by PyTorch, MXNet, and TFLite. |
28 | | -Once loaded, we can run quantized models on any hardware TVM supports. |
| 28 | +Once loaded, we can run compiled, quantized models on any hardware TVM supports. |
29 | 29 | """ |
30 | 30 |
|
31 | 31 | ################################################################################# |
@@ -153,7 +153,7 @@ def quantize_model(model, inp): |
153 | 153 | # You can print the output from the frontend to see how quantized models are |
154 | 154 | # represented. |
155 | 155 | # |
156 | | -# You would see operators specfic to quantization such as |
| 156 | +# You would see operators specific to quantization such as |
157 | 157 | # qnn.quantize, qnn.dequantize, qnn.requantize, and qnn.conv2d etc. |
158 | 158 | input_name = "input" # the input name can be be arbitrary for PyTorch frontend. |
159 | 159 | input_shapes = [(input_name, (1, 3, 224, 224))] |
|
0 commit comments