Skip to content

Commit

Permalink
Fix post-merge conflict between apache#7785 and apache#7945. (apache#…
Browse files Browse the repository at this point in the history
  • Loading branch information
areusch authored and trevor-m committed May 11, 2021
1 parent 1496c7d commit a137527
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 a137527

Please sign in to comment.