diff --git a/model-optimizer/mo/ops/deformable_convolution.py b/model-optimizer/mo/ops/deformable_convolution.py index 5eb573fb2147f1..14c7a39e03ef0d 100644 --- a/model-optimizer/mo/ops/deformable_convolution.py +++ b/model-optimizer/mo/ops/deformable_convolution.py @@ -27,4 +27,7 @@ def __init__(self, graph: Graph, attrs: dict): def backend_attrs(self): # the same attributes as in a regular convolution and additional attributes 'deformable_group', 'group' # and 'bilinear_interpolation_pad' - return Convolution(self.graph, {}).backend_attrs() + ['deformable_group', 'group', 'bilinear_interpolation_pad'] + attrs = Convolution(self.graph, {}).backend_attrs() + ['deformable_group', 'group'] + if self.get_opset() == 'opset8': + attrs.append('bilinear_interpolation_pad') + return attrs