Skip to content
This repository was archived by the owner on May 22, 2023. It is now read-only.

Commit f466d20

Browse files
committed
fix
1 parent 6c4dc73 commit f466d20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/relax/usmp/transform/assign_pool_info.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ IRModule PoolInfoAssigner::operator()() {
244244
RelaxPoolInfoAssigner(func, target_pool_infos_, target_const_pool_infos_);
245245
relax::Expr body = relax_pool_info_assigner();
246246
Function new_relax_func =
247-
Function(func->params, body, func->ret_type, func->attrs, func->span);
247+
Function(func->params, body, func->ret_type, func->ret_shape, func->attrs, func->span);
248248
mod_->Update(gv, new_relax_func);
249249
} else if (kv.second->IsInstance<tir::PrimFuncNode>()) {
250250
using TIRPoolInfoAssigner = tir::usmp::TIRPoolInfoAssigner;

0 commit comments

Comments
 (0)