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

[OV][PTQ][Inplace statistics] Always cast dims to np.int to support empty dims case #2041

Merged

Conversation

daniil-lyakhov
Copy link
Collaborator

@daniil-lyakhov daniil-lyakhov commented Aug 11, 2023

Changes

Dims are always casted to np.int type during creation of an inplace operation, because empty tuple is casted to float type by default and leads to runtime error.

Reason for changes

To support empty dims inplace reduction operations

Related tickets

117500

Tests

  • test_model_transformer.py is updated

@daniil-lyakhov daniil-lyakhov requested a review from a team as a code owner August 11, 2023 12:44
@github-actions github-actions bot added the NNCF OpenVINO Pull requests that updates NNCF OpenVINO label Aug 11, 2023
@KodiaqQ KodiaqQ merged commit 75d3304 into openvinotoolkit:develop Aug 16, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NNCF OpenVINO Pull requests that updates NNCF OpenVINO
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants