|
|
@@ -27,7 +27,7 @@ Status DynamicSingleOpResetShapePass::Run(ComputeGraphPtr graph) { |
|
|
GE_CHECK_NOTNULL(graph); |
|
|
GE_CHECK_NOTNULL(graph); |
|
|
for (const auto &node : graph->GetDirectNode()) { |
|
|
for (const auto &node : graph->GetDirectNode()) { |
|
|
GE_CHECK_NOTNULL(node->GetOpDesc()); |
|
|
GE_CHECK_NOTNULL(node->GetOpDesc()); |
|
|
if (node->GetType() != DATA || node->GetType() == NETOUTPUT) { |
|
|
|
|
|
|
|
|
if (node->GetType() == DATA || node->GetType() == NETOUTPUT) { |
|
|
continue; |
|
|
continue; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|