From 9bde140ac074e8f280ace55493330a17b5fe9af1 Mon Sep 17 00:00:00 2001 From: zhaoxinxin Date: Wed, 28 Oct 2020 16:15:44 +0800 Subject: [PATCH] modified: ge/graph/passes/transop_without_reshape_fusion_pass.cc --- ge/graph/passes/transop_without_reshape_fusion_pass.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ge/graph/passes/transop_without_reshape_fusion_pass.cc b/ge/graph/passes/transop_without_reshape_fusion_pass.cc index 7adee429..81aeb831 100644 --- a/ge/graph/passes/transop_without_reshape_fusion_pass.cc +++ b/ge/graph/passes/transop_without_reshape_fusion_pass.cc @@ -131,7 +131,7 @@ graphStatus TransOpWithoutReshapeFusionPass::GetSubGraphNodesInfo() { sub_graph_has_reshape_node[i] = true; break; } - if (in_node->GetType() == TRANSOPSE || in_node->GetType() == TRANSOPSED) { + if (in_node->GetType() == TRANSPOSE || in_node->GetType() == TRANSPOSED) { auto input_format = in_node->GetOpDesc()->GetInputDescPtr(0)->GetFormat(); auto output_format = in_node->GetOpDesc()->GetOutputDescPtr(0)->GetFormat(); if (input_format == output_format) {