Skip to content

Commit

Permalink
[Unity] Relax expressions and types (#13901)
Browse files Browse the repository at this point in the history
  • Loading branch information
YuchenJin authored and driazati committed Feb 2, 2023
1 parent 129b12f commit 6c57931
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 6c57931

Please sign in to comment.