Skip to content

Commit

Permalink
temporarily use i32 for e2e workloads (apache#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hzfengsy authored and MasterJH5574 committed Nov 19, 2022
1 parent 7425128 commit 35cfadd
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 @@ -212,7 +212,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(64), shape_tuple[dim]));
values.push_back(IntImm(DataType::Int(32), shape_tuple[dim]));
}
UpdateShape(constant, relax::ShapeExpr(values));
}
Expand Down

0 comments on commit 35cfadd

Please sign in to comment.