[TOOLS] JSON upgrader to upgrade serialized json. (#4730)
During Unified IR refactor we will change the structure of IRs. This will cause certain historical modules stored via json no longer able to be loaded by the current version. This PR introduces a backward compatible layer to try its best effort to upgrade json from previous version(this case 0.6) to the current version. We mainly aim to support update of high-level ir(relay).
Showing
python/tvm/json_compact.py
0 → 100644
tests/python/relay/test_json_compact.py
0 → 100644
Please
register
or
sign in
to comment