Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avgpool revise #3674

Merged
merged 41 commits into from
Jan 13, 2021
Merged

Avgpool revise #3674

merged 41 commits into from
Jan 13, 2021

Conversation

pszmel
Copy link
Contributor

@pszmel pszmel commented Dec 18, 2020

  1. Update the spec
  2. Create unit-tests
  3. Remove second constructor and add default values to the first one
  4. Add type_prop tests for default values
  5. Add 5D input single layer test instances
  6. Update validate_and_infer_types method
  7. Update infer_batched_pooling_forward and try_apply_auto_padding methods
  8. Update auto_padding_spatial_dims_dynamic type_prop test for binary_conv, conv, deformable_conv, group_conv and max_pool

Changes in infer_batched_pooling_forward and try_apply_auto_padding required me to change the expected pads_begin and pads_end in 1 type_prop test for ops listed in point 8.

ticket: 37422

@pszmel pszmel added the category: Core OpenVINO Core (aka ngraph) label Dec 18, 2020
@pszmel pszmel self-assigned this Dec 18, 2020
@pszmel pszmel marked this pull request as ready for review December 21, 2020 11:20
@pszmel pszmel requested a review from a team as a code owner December 21, 2020 11:20
docs/ops/pooling/AvgPool_1.md Outdated Show resolved Hide resolved
docs/ops/pooling/AvgPool_1.md Outdated Show resolved Hide resolved
docs/ops/pooling/AvgPool_1.md Outdated Show resolved Hide resolved
docs/ops/pooling/AvgPool_1.md Show resolved Hide resolved
docs/ops/pooling/AvgPool_1.md Show resolved Hide resolved
docs/ops/pooling/AvgPool_1.md Outdated Show resolved Hide resolved
docs/ops/pooling/AvgPool_1.md Outdated Show resolved Hide resolved
docs/ops/pooling/AvgPool_1.md Outdated Show resolved Hide resolved
docs/ops/pooling/AvgPool_1.md Outdated Show resolved Hide resolved
docs/ops/pooling/AvgPool_1.md Outdated Show resolved Hide resolved
@pszmel pszmel requested a review from lazarevevgeny December 29, 2020 09:30
@mbencer
Copy link
Contributor

mbencer commented Jan 5, 2021

Pooling from ONNX supports 1D and 2D cases. How to deal with it? Do we need new ops in new version?
@lazarevevgeny What do you think?

docs/ops/pooling/AvgPool_1.md Outdated Show resolved Hide resolved
docs/ops/pooling/AvgPool_1.md Outdated Show resolved Hide resolved
docs/ops/pooling/AvgPool_1.md Outdated Show resolved Hide resolved
docs/ops/pooling/AvgPool_1.md Outdated Show resolved Hide resolved
docs/ops/pooling/AvgPool_1.md Outdated Show resolved Hide resolved
ngraph/test/type_prop/convolution.cpp Show resolved Hide resolved
@pszmel pszmel requested a review from lazarevevgeny January 12, 2021 17:37
@ilyachur ilyachur merged commit 9ddbfac into openvinotoolkit:master Jan 13, 2021
mryzhov pushed a commit to mryzhov/openvino that referenced this pull request Jan 14, 2021
* Update the spec

* add unit-tests

* add avgPool unit-tests to CMakelist

* Remove second constructor and change the first one to take default values for rounding_type and pad_type

* add type_prop test for default values

* add 5d input single layer test instances

* add type_prop tests

* Require input to be 4D or 5D

* add validation check for pads size

* Update few tests to take 5D input instead of 6D

* Update validate_and_infer_types method

* Update infer_batched_pooling_forward and try_apply_auto_padding methods

* Update auto_padding_spatial_dims_dynamic type_prop test for binary_conv, conv, deformable_conv, group_conv and max_pool

* style-apply

* add validation check for kernel size

* add xfail for avgpool python backend test

* style-apply

* remove avgpool backend test from xfail list

* Update spec

* Allow the 3D input

* Update type_prop test with 3D input

* style-apply

* Remove xfail_issue_38709

* fix typo

* Update spec

* Update outputs section in spec

* Update spec

* fix typo

* clean file

* Update detailed description and fix xml examples

* fix exclude-type typo

* fix typo in outputs section
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: Core OpenVINO Core (aka ngraph)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants