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 Jan 13, 2022
1 parent 8ac0d3c commit ca87c28
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 ca87c28

Please sign in to comment.