onnxruntime/include/onnxruntime/core
Scott McKay 796ddeb2cb
Remove serialization of outer scope value info in ORT format model (#5077)
* Remove serialization of outer scope node arg info in ORT format model. We don't currently need it in a minimal build as only SessionState calls Graph::IsConstantInitializer and it doesn't search outer scope. If we do need it in the future the information can be calculated at runtime (small binary size cost to do so).

Motivation: ORT format model was 32% bigger for a BERT model with multiple levels of subgraph and a lot of nodes due to this. Size is about 5% larger of the original ONNX model with the change. ORT format has type/shape info for all nodes, and this model has 2000 nodes so this seems reasonable.

Added example code to dump ORT format model to json.

Fixed misc bug in python test script around handling float and non-float expected output.
2020-09-08 17:43:42 +10:00
..
common Last major set of ORT format model changes (#5056) 2020-09-05 07:59:01 +10:00
framework Register OpSet13 CUDA Kernels for BERT/UniLMv2 (#4856) 2020-09-05 08:09:52 +08:00
graph Remove serialization of outer scope value info in ORT format model (#5077) 2020-09-08 17:43:42 +10:00
optimizer Allow multiple sessions to share an allocator, optimize constant folding memory usage, expose arena configs. (#4813) 2020-08-22 10:03:17 -07:00
platform Parallelizing elementwise kernels (#4577) 2020-09-04 14:45:43 -07:00
providers Convert TensorRT provider into a shared library (#4721) 2020-08-10 21:17:16 -07:00
session Remove usage of macros for constants in public header. (#5061) 2020-09-05 01:27:20 -07:00