Skip to content

Commit

Permalink
Fix the missing dtype attribute of tir.Shuffle in Python level (a…
Browse files Browse the repository at this point in the history
  • Loading branch information
UniverseFly authored and ylc committed Sep 29, 2021
1 parent 93cdf4a commit e019e76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/tvm/tir/expr.h
Original file line number Diff line number Diff line change
Expand Up @@ -947,6 +947,7 @@ class ShuffleNode : public PrimExprNode {
Array<PrimExpr> indices;

void VisitAttrs(AttrVisitor* v) {
v->Visit("dtype", &dtype);
v->Visit("vectors", &vectors);
v->Visit("indices", &indices);
v->Visit("span", &span);
Expand Down

0 comments on commit e019e76

Please sign in to comment.