wweic commented on issue #4346: [Runtime] Make ADTObject POD container type
URL: https://github.com/apache/incubator-tvm/pull/4346#issuecomment-555350358
 
 
   @tqchen I changed the interface a little bit. Now the set of interfaces are:
   1. `assign(initializer_list/iterator)`. This is the interface to initialize 
an array.
   2. `push_back(value)`. This is the interface to insert elements to the array 
with a value
   3. `emplace_back(args)`. This is the interface to insert elements to the 
array in place with arguments. It uses `EmplaceInit` under the hood. 
   The reason to have `1` is that it's common to have a source array we want to 
copy from(ADT, Tuple, for example), we can not easily do inplace 
initialization. `2` and `3` achieves the same thing just how to do it.

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


With regards,
Apache Git Services

Reply via email to