From ce5a7825b61d0ec071e3059c504ab77c7c935564 Mon Sep 17 00:00:00 2001 From: zhaozhixuan Date: Wed, 14 Apr 2021 09:10:42 +0800 Subject: [PATCH] Make NetOutput shape continuous. --- ge/graph/passes/reshape_recovery_pass.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ge/graph/passes/reshape_recovery_pass.cc b/ge/graph/passes/reshape_recovery_pass.cc index e78fc1b7..ba12ba15 100644 --- a/ge/graph/passes/reshape_recovery_pass.cc +++ b/ge/graph/passes/reshape_recovery_pass.cc @@ -73,7 +73,7 @@ Status InsertReshapeIfNeed(const NodePtr &node) { } if (dst_node->GetType() == NETOUTPUT && is_dynamic) { // NetOutput shape must be continuous when dynamic shape. - // Otherwise, there may be an arror waiting for the shape refresh to time out during execution. + // Otherwise, there may be an error waiting for the shape refresh to time out during execution. dst_tensor->SetShape(src_tensor->GetShape()); continue; }