Skip to content

Commit

Permalink
Fix post-merge conflict between apache#7785 and apache#7945.
Browse files Browse the repository at this point in the history
  • Loading branch information
areusch committed May 5, 2021
1 parent f85cab2 commit 48cb230
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/relay/backend/graph_executor_codegen.cc
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ class GraphExecutorCodegen : public backend::MemoizedExprTranslator<std::vector<
// TODO(tvm-team) Update checks of flat memory enablement when we support
// opaque-nd memory planning to skip this path.
if (func->HasNonzeroAttr(attr::kReshapeOnly) && ShareSameStorage(expr, op->args[0])) {
return GraphAddCallNode(op, "reshape_nop", "__nop");
return GraphAddCallNode(op, "reshape_nop", "__nop", attrs);
}

ICHECK_GE(storage_device_map_.count(expr), 0);
Expand Down

0 comments on commit 48cb230

Please sign in to comment.