|
|
|
@@ -1077,7 +1077,12 @@ Status HybridModelBuilder::InitWeights() { |
|
|
|
|
|
|
|
Status HybridModelBuilder::LoadTasks() { |
|
|
|
GE_CHK_STATUS_RET(CheckAicpuOpList(), "Check Aicpu op failed."); |
|
|
|
std::map<int64_t, NodeItem *> ordered_node_items; |
|
|
|
for (auto &it : hybrid_model_.node_items_) { |
|
|
|
auto &node_item = it.second; |
|
|
|
ordered_node_items.emplace(node_item->node_id, node_item.get()); |
|
|
|
} |
|
|
|
for (auto &it : ordered_node_items) { |
|
|
|
auto &node_item = it.second; |
|
|
|
auto &node_ptr = node_item->node; |
|
|
|
if (node_item->node_type == NETOUTPUT) { |
|
|
|
|