@@ -23,21 +23,17 @@ class PropagatePrecision: public ov::pass::ModelPass {
23
23
PropagatePrecision (const std::shared_ptr<const TargetMachine>& target_machine);
24
24
bool run_on_model (const std::shared_ptr<ov::Model>& m) override ;
25
25
26
- static std::vector<element::Type> get_precisions (
27
- const std::vector<element::Type>& input_precisions,
28
- const std::set<std::vector<element::Type>>& supported_precisions) noexcept ;
26
+ static std::vector<element::Type> get_precisions (const std::vector<element::Type>& input_precisions,
27
+ const std::set<std::vector<element::Type>>& supported_precisions);
29
28
30
29
// if can_be_removed returns true then actual convertion (actual_before => actual_after)
31
30
// can be replaced to required (actual_before => required_after)
32
- static bool can_be_removed (
33
- const element::Type& actual_before,
34
- const element::Type& actual_after,
35
- const element::Type& required_after) noexcept ;
31
+ static bool can_be_removed (const element::Type& actual_before,
32
+ const element::Type& actual_after,
33
+ const element::Type& required_after);
36
34
37
35
// if can_be_fused returns true then actual convertion can be replaced to required
38
- static bool can_be_fused (
39
- const element::Type& actual,
40
- const element::Type& required) noexcept ;
36
+ static bool can_be_fused (const element::Type& actual, const element::Type& required);
41
37
42
38
static bool validate_and_infer_types_and_restore_outputs (const std::shared_ptr<ov::Node>& op);
43
39
0 commit comments