Broken first inference time counter (#3848)
This commit is contained in:
@@ -380,8 +380,6 @@ std::shared_ptr<ngraph::Function> V10Parser::XmlDeserializer::parse_function(con
|
||||
variable_id_to_read_value.at(std::dynamic_pointer_cast<ngraph::op::Assign>(assign)->get_variable_id()));
|
||||
}
|
||||
|
||||
OV_ITT_TASK_NEXT(taskChain, "ConstructCNNNetwork");
|
||||
|
||||
return function;
|
||||
}
|
||||
|
||||
@@ -422,12 +420,12 @@ V10Parser::V10Parser(const std::vector<IExtensionPtr>& exts) : _exts(exts) {
|
||||
}
|
||||
|
||||
std::shared_ptr<ICNNNetwork> V10Parser::parse(const pugi::xml_node& root, const Blob::CPtr& weights) {
|
||||
OV_ITT_TASK_CHAIN(taskChain, itt::domains::V10Reader_RT, "V10Parser", "Parse");
|
||||
|
||||
std::shared_ptr<ngraph::Function> function;
|
||||
XmlDeserializer visitor(root, weights, opsets);
|
||||
visitor.on_attribute("net", function);
|
||||
|
||||
OV_ITT_SCOPED_TASK(itt::domains::V10Reader_RT, "ConstructCNNNetwork");
|
||||
|
||||
CNNNetwork net(function, _exts);
|
||||
parsePreProcess(net, root, weights);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user