[GPU] Fix graph dump issue. (#8965)

This commit is contained in:
Jade Cho 2021-12-02 23:25:20 +09:00 committed by GitHub
parent a14ac5236d
commit a9a583eb42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -436,5 +436,10 @@ void graph_initializations::run(program& p) {
}
set_outputs(p);
p.get_processing_order().calc_processing_order(p);
for (auto& node : p.get_processing_order()) {
if (!node->is_type<data>())
node->get_output_layout();
}
}
} // namespace cldnn

View File

@ -456,11 +456,6 @@ void program::init_graph() {
OV_ITT_SCOPED_TASK(itt::domains::CLDNN, "ProgramImpl::InitGraph");
apply_opt_pass<graph_initializations>();
for (auto& node : processing_order) {
if (!node->is_type<data>())
node->get_output_layout();
}
apply_opt_pass<calculate_prior_boxes>();
apply_opt_pass<mark_nodes>();