onnxruntime/tools/python
Yufeng Li baa86f181f
Handle the case that initializers are in graph input (#3449)
warn that initializers are in graph input
provide a tool to move initializer out of graph input
Motivation and Context
ONNX model from IR_VERSION 4 only treats initializers that appear in graph input as non-constant. This may fail some of the graph optimizations, like const folding, operator fusion and etc. Warn the case and provide a tool.
2020-04-14 09:06:04 -07:00
..
dump_subgraphs.py
FindOptimizerOpsetVersionUpdatesRequired.py
gen_doc.py
gen_opkernel_doc.py
get_submodules.py
onnx_test_data_utils.py
remove_initializer_from_input.py Handle the case that initializers are in graph input (#3449) 2020-04-14 09:06:04 -07:00
update_version.py