tqchen commented on pull request #8570:
URL: https://github.com/apache/tvm/pull/8570#issuecomment-890521279


   @jwfromm the main concern was backward compatibility. 
   
   We need to make sure the serialized data in previous schema being readable 
under the new setups. That is why I initially suggested to allow an option to 
output of the new schema. e.g. having something like
   
   ```python
   # new behavior
   result0 = x.save_json(with_typing=True)
   result1 = x.save_json(with_typing=False)
   
   x = tvm.ir.load_json(result0)
   y = tvm.ir.load_json(result1)
   
   tvm.ir.assert_structural_equal(x, y) 
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to