Skip to content

Commit

Permalink
i32 to i64 (apache#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
jinhongyii authored Nov 28, 2022
1 parent 87d3e7e commit 5034ae1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/relax/ir/block_builder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ class BlockBuilderNode::ExprNormalizer : public ExprFunctor<Expr(const Expr&)> {
if (!constant->shape_) {
Array<PrimExpr> values;
for (size_t dim = 0; dim < shape_tuple.size(); dim++) {
values.push_back(IntImm(DataType::Int(32), shape_tuple[dim]));
values.push_back(IntImm(DataType::Int(64), shape_tuple[dim]));
}
UpdateShape(constant, relax::ShapeExpr(values));
}
Expand Down

0 comments on commit 5034ae1

Please sign in to comment.