Lunderberg opened a new pull request, #16860:
URL: https://github.com/apache/tvm/pull/16860

   Prior to this commit, the `relax::Tuple` constructor left the `struct_info_` 
field undefined.  This is inconsistent with other Relax leaf nodes, such as 
`relax::PrimValue`, `relax::Constant`, and `relax::ExternFunc`, which 
initialize their struct info on construction.
   
   This commit updates the `relax::Tuple` constructor to define `struct_info_` 
as `TupleStructInfo`, if all fields have a known struct info.  If any field 
does not have a known struct info, the current behavior is kept, where 
`struct_info_` is constructed as `NullOpt`, and is later populated by the 
`relax::BlockBuilder`.


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