ONNX weight sharing (#114)
* Add a function that removes duplicate weights in an ONNX model
* Add missing type annotation
* Add docstring and some refactoring
* Minor changes
* Fix the hash for finding the duplicates
* Added unittest
* Quality.
Co-authored-by: Morgan Funtowicz <funtowiczmo@gmail.com>