|
|
@@ -1801,7 +1801,7 @@ void GraphPrepare::TypeConversionOfConstant() { |
|
|
|
for (ge::NodePtr &n : compute_graph_->GetAllNodes()) { |
|
|
|
// This can ensure that n is not a null pointer |
|
|
|
// No Conversion when called by aclOpCompile |
|
|
|
(void)AttrUtils::GetBool(n->GetOpDesc(), ATTR_DYNAMIC_SHAPE_SINGLE_AICPU, is_acl_compile)); |
|
|
|
(void)AttrUtils::GetBool(n->GetOpDesc(), ATTR_DYNAMIC_SHAPE_SINGLE_AICPU, is_acl_compile); |
|
|
|
if (is_acl_compile) { |
|
|
|
return; |
|
|
|
} |
|
|
|