[CPU][TESTS] Use run_on_model instead of run_on_function (#16359)
This commit is contained in:
parent
a99a5057e2
commit
a754473689
@ -202,8 +202,8 @@ protected:
|
||||
checkFusingPosition = false;
|
||||
|
||||
functionRefs = ov::clone_model(*function);
|
||||
ngraph::pass::ConvertPrecision<ngraph::element::Type_t::i8, ngraph::element::Type_t::f32>().run_on_function(functionRefs);
|
||||
ngraph::pass::ConvertPrecision<ngraph::element::Type_t::u8, ngraph::element::Type_t::f32>().run_on_function(functionRefs);
|
||||
ngraph::pass::ConvertPrecision<ngraph::element::Type_t::i8, ngraph::element::Type_t::f32>().run_on_model(functionRefs);
|
||||
ngraph::pass::ConvertPrecision<ngraph::element::Type_t::u8, ngraph::element::Type_t::f32>().run_on_model(functionRefs);
|
||||
functionRefs->validate_nodes_and_infer_types();
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user