Skip to content

Commit c3c78cb

Browse files
rkuesterveblush
andauthored
docs(compression): add MNIST compression tutorial (#3224)
Add a comprehensive Jupyter notebook tutorial demonstrating TFLM's compression pipeline using the MNIST dataset. The tutorial covers weight clustering with TensorFlow Model Optimization toolkit, post-training quantization, and TFLM's LUT-based compression. Update documentation to reference the new tutorial from the main README, Python interpreter guide, and compression documentation. BUG=#2636 Co-authored-by: Esun Kim <[email protected]>
1 parent c5ee80c commit c3c78cb

File tree

4 files changed

+1278
-0
lines changed

4 files changed

+1278
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ The following resources may also be useful:
101101
* [Arm IP support](tensorflow/lite/micro/docs/arm.md)
102102
* [Software Emulation with Renode](tensorflow/lite/micro/docs/renode.md)
103103
* [Software Emulation with QEMU](tensorflow/lite/micro/docs/qemu.md)
104+
* [Compression](tensorflow/lite/micro/docs/compression.md)
105+
* [MNIST Compression Tutorial](tensorflow/lite/micro/compression/mnist_compression_tutorial.ipynb)
104106
* [Python Dev Guide](docs/python.md)
105107
* [Automatically Generated Files](docs/automatically_generated_files.md)
106108
* [Python Interpreter Guide](python/tflite_micro/README.md)

python/tflite_micro/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,11 @@ print(tflm_interpreter.get_input_details(0))
157157
print(tflm_interpreter.get_output_details(0))
158158
```
159159

160+
### Tutorials
161+
162+
For a complete end-to-end example using the Python interpreter for model compression:
163+
* [MNIST Compression Tutorial](../../tensorflow/lite/micro/compression/mnist_compression_tutorial.ipynb)
164+
160165
### Technical Details
161166

162167
The Python interpreter uses [pybind11](https://github.com/pybind/pybind11) to

0 commit comments

Comments
 (0)