@@ -46,7 +46,7 @@ class OPENVINO_API Label : public Pattern {
46
46
const PartialShape& s,
47
47
const NodePredicate& pred,
48
48
const NodeVector& wrapped_values = {})
49
- : Label(type, s, as_value_predicate (pred), as_output_vector(wrapped_values)) {}
49
+ : Label(type, s, Predicate (pred), as_output_vector(wrapped_values)) {}
50
50
51
51
// / \brief creates a Label node containing a sub-pattern described by the type and
52
52
// / shape of \sa node.
@@ -64,10 +64,7 @@ class OPENVINO_API Label : public Pattern {
64
64
Label (const Output<Node>& value, const TPredicate& pred, const OutputVector& wrapped_values = {})
65
65
: Label(value.get_element_type(), value.get_partial_shape(), Predicate(pred), wrapped_values) {}
66
66
Label (const Output<Node>& node, const NodePredicate& pred, const NodeVector& wrapped_values = {})
67
- : Label(node.get_element_type(),
68
- node.get_partial_shape(),
69
- as_value_predicate (pred),
70
- as_output_vector(wrapped_values)) {}
67
+ : Label(node.get_element_type(), node.get_partial_shape(), Predicate(pred), as_output_vector(wrapped_values)) {}
71
68
72
69
explicit Label (const element::Type& type = element::dynamic, const PartialShape& s = PartialShape::dynamic())
73
70
: Label(type, s, nullptr , OutputVector{}) {}
0 commit comments