Make ngraph dump to be done for each subnetwork (#7733)

This commit is contained in:
Taylor Yeonbok Lee 2021-10-02 11:23:15 +09:00 committed by GitHub
parent 056515e735
commit 3078e95482
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -485,7 +485,7 @@ InferenceEngine::CNNNetwork clDNNEngine::CloneAndTransformNetwork(const Inferenc
GPU_DEBUG_GET_INSTANCE(debug_config); GPU_DEBUG_GET_INSTANCE(debug_config);
GPU_DEBUG_IF(!debug_config->dump_graphs.empty()) { GPU_DEBUG_IF(!debug_config->dump_graphs.empty()) {
clonedNetwork.serialize(debug_config->dump_graphs + "/transformed_func.xml"); clonedNetwork.serialize(debug_config->dump_graphs + "/" + network.getName() + "_" + "transformed_func.xml");
} }
return clonedNetwork; return clonedNetwork;
} }