Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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