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

[Opset15][Spec] Col2Im-15 specification #23947

Merged
merged 21 commits into from
May 16, 2024

Conversation

p-wysocki
Copy link
Contributor

@p-wysocki p-wysocki commented Apr 9, 2024

@p-wysocki p-wysocki requested a review from a team as a code owner April 9, 2024 16:40
@p-wysocki p-wysocki requested review from kblaszczak-intel and removed request for a team April 9, 2024 16:41
@github-actions github-actions bot added the category: docs OpenVINO documentation label Apr 9, 2024
@mlukasze
Copy link
Contributor

please switch to opset 15

@p-wysocki p-wysocki changed the title [Opset14][Spec] Col2Im-14 specification [Opset15][Spec] Col2Im-15 specification Apr 18, 2024
@p-wysocki p-wysocki requested a review from mitruska April 19, 2024 11:20

.. math::

L = \prod_{d=1}^{2} \left\lfloor \frac{({\text{{output\_size}}[d] + \text{{pads\_begin}}[d] + \text{{pads\_end}}[d] - \text{{dilation}}[d] \times (\text{{kernel\_size}}[d] - 1) - 1}}{{\text{{stride}}[d]}}) + 1\rfloor
Copy link
Contributor Author

@p-wysocki p-wysocki Apr 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

Where d goes only up to 2 since Col2Im works only for images with 2 spatial dimensions and pads_begin and pads_end are applied separately to follow OpenVINO convention.

@t-jankowski t-jankowski requested review from t-jankowski and removed request for t-jankowski May 8, 2024 10:40
@mitruska mitruska added the category: Opset OpenVINO Opset label May 8, 2024
Copy link
Contributor

@mitruska mitruska left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small leftovers, overall LGTM (assuming that 2D case is enough for now).

@t-jankowski t-jankowski removed their request for review May 13, 2024 10:48
github-merge-queue bot pushed a commit that referenced this pull request May 14, 2024
### Details:
 - Add Core implementation of `Col2Im-15`

### Related PRs
- #23947

### Tickets:
 - CVS-138918

---------

Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
Copy link
Contributor

@mmikolajcz mmikolajcz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mlukasze mlukasze added this pull request to the merge queue May 16, 2024
Merged via the queue into openvinotoolkit:master with commit 9280cec May 16, 2024
80 checks passed
@p-wysocki p-wysocki deleted the col2im_spec branch May 16, 2024 13:13
github-merge-queue bot pushed a commit that referenced this pull request May 21, 2024
### Details:
- Similar in functionality to
https://pytorch.org/docs/stable/generated/torch.nn.Fold.html, Col2Im is
`torch.nn.Fold` restricted to two output spatial dimensions

### Tickets:
 - CVS-138919

### Related PRs:
- #24197
- #23947
- #24569

---------

Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
github-merge-queue bot pushed a commit that referenced this pull request May 23, 2024
### Details:
 - Add Python API for `Col2Im-15`
- Requires #24548 to
work and pass CI

### Tickets:
 - CVS-138920

### Related PRs:
- #24548
- #24197
- #23947

---------

Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
github-merge-queue bot pushed a commit that referenced this pull request Jul 3, 2024
### Details:
 - Register `Col2im-15` in CPU Plugin
- Use reference implementation, used
#23844 as reference
 - Add tests

### Tickets:
 - CVS-142438

### Related PRs:
 - #24548
 - #24197
 - #23947
 - #24569

---------

Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
Co-authored-by: Maksim Kutakov <maxim.kutakov@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: docs OpenVINO documentation category: Opset OpenVINO Opset
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants