tvm-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tianqi Chen <notificati...@github.com>
Subject Re: [dmlc/tvm] [RFC] Node Construction Style: Use Constructor When Possible (#3223)
Date Thu, 23 May 2019 17:17:13 GMT
Thanks for all the discussions, a summary of guidelines:

- For constructor that initializes the fields, use the constructor.
- Encourage static factory function on the reference data type(instead of the Node) if there
are more complicated construction logic and the function naming gives more clear information.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/dmlc/tvm/issues/3223#issuecomment-495307086
Mime
  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message