ZihengJiang commented on pull request #6779:
URL: https://github.com/apache/incubator-tvm/pull/6779#issuecomment-720671623


   @tkonolige 
   The point of first Python is to provide a user-friendly schema frontend like 
ProtoBuf. **It can be used as schema but with Python-like syntax**. This 
principle is discussed in the RFC and with @tqchen offline. The designed 
behavior of `default_fhash_reduce` also comes from this point. We definitely 
can write JSON directly, but: 1. not friendly to use especially when the class 
is complicated; 2. may require backend languages to verify its correctness. 
After all, JSON is designed as an interexchange format instead of user 
interface.


----------------------------------------------------------------
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.

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


Reply via email to