onnxruntime
3433576f - Support for Sparse Initializers (#5540)

Commit
5 years ago
Support for Sparse Initializers (#5540) Introduce sparse_initializers support. Convert them to dense on model load and prune graph_proto_ so they don't consume space. Convert back to sparse on ORT Format model save. Implement serializing sparse initializers to OrtFormat. Fix Model::ToProto() to return original sparse initializers Set a flag that graph_sync is needed when loading a simple ORT Format model. otherwise nothing is resolved. Add ORT Format history to README.md ifdef MINIMAL build for DenseToSparseTensorInitializer Allow duplicate initializers to support existing models. Issue a warning instead of aborting. * Revert "Remove SparseTensor support from minimal build. (#5114)" This reverts commit 59ee8ffb17ffce7d0bce9692d8d58555df909ff9. Signed-off-by: Dmitri Smirnov <dmitrism@microsoft.com>
Author
Parents
Loading