diff --git a/docs/ops/pooling/AvgPool_1.md b/docs/ops/pooling/AvgPool_1.md index 7ea9be03fd7..450d6188f3a 100644 --- a/docs/ops/pooling/AvgPool_1.md +++ b/docs/ops/pooling/AvgPool_1.md @@ -44,9 +44,9 @@ * **Default value**: None * **Required**: *yes* -* *exclude_pad* +* *exclude-pad* - * **Description**: *exclude_pad* is a type of pooling strategy for values in the padding area. For example, if *exclude_pad* is "true", zero-values in the padding are not used. + * **Description**: *exclude-pad* is a type of pooling strategy for values in the padding area. For example, if *exclude-pad* is "true", zero-values in the padding are not used. * **Range of values**: true or false * **Type**: boolean * **Default value**: None @@ -86,7 +86,7 @@ output_{j} = \frac{\sum_{i = 0}^{n}x_{i}}{n} ```xml - + ... ... diff --git a/ngraph/core/src/op/avg_pool.cpp b/ngraph/core/src/op/avg_pool.cpp index dfb411977db..64bc11acd70 100644 --- a/ngraph/core/src/op/avg_pool.cpp +++ b/ngraph/core/src/op/avg_pool.cpp @@ -69,7 +69,7 @@ bool op::v1::AvgPool::visit_attributes(AttributeVisitor& visitor) visitor.on_attribute("strides", m_strides); visitor.on_attribute("pads_begin", m_pads_begin); visitor.on_attribute("pads_end", m_pads_end); - visitor.on_attribute("exclude_pad", m_exclude_pad); + visitor.on_attribute("exclude-pad", m_exclude_pad); visitor.on_attribute("auto_pad", m_auto_pad); visitor.on_attribute("rounding_type", m_rounding_type); return true; diff --git a/ngraph/python/src/ngraph/opset1/ops.py b/ngraph/python/src/ngraph/opset1/ops.py index 5af81cfac4b..95a42cd40d8 100644 --- a/ngraph/python/src/ngraph/opset1/ops.py +++ b/ngraph/python/src/ngraph/opset1/ops.py @@ -153,7 +153,7 @@ def avg_pool( "pads_begin": pads_begin, "pads_end": pads_end, "kernel": kernel_shape, - "exclude_pad": exclude_pad, + "exclude-pad": exclude_pad, "rounding_type": rounding_type.upper(), "auto_pad": auto_pad.upper(), },