Skip to content

Commit

Permalink
[Unity] Relax expressions and types (apache#13901)
Browse files Browse the repository at this point in the history
  • Loading branch information
YuchenJin authored and yongwww committed Feb 27, 2023
1 parent 12241c3 commit f3df16d
Show file tree
Hide file tree
Showing 3 changed files with 1,177 additions and 0 deletions.
8 changes: 8 additions & 0 deletions include/tvm/ir/expr.h
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,14 @@ class RelayExprNode : public BaseExprNode {
* This value is discarded during serialization.
*/
mutable Type checked_type_ = Type(nullptr);

/*!
* \brief Stores the result of structure information of the
* expression that encapsulate both static shape and
* runtime information such as shape.
*/
mutable Optional<ObjectRef> struct_info_ = Optional<ObjectRef>();

/*!
* \return The checked_type
*/
Expand Down
Loading

0 comments on commit f3df16d

Please sign in to comment.