-
Notifications
You must be signed in to change notification settings - Fork 19.5k
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
[OpenVINO backend]: Support numpy.bincount #20940
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3579,8 +3579,8 @@ def test_bincount(self, sparse_input, sparse_arg): | |
) | ||
self.assertSparse(output, sparse_input or sparse_arg) | ||
|
||
x = knp.expand_dims(x, 0) | ||
weights = knp.expand_dims(weights, 0) | ||
x = np.expand_dims(x, 0) | ||
weights = np.expand_dims(weights, 0) | ||
Comment on lines
-3582
to
+3583
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. please revert these changes There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Earlier the openvino CI was failing because of this as in the implementation of expand_dims if input is not an instance of openvinokerastensor it was going in else statement causing a false assert. |
||
|
||
expected_output = np.array([[0, 0, 4, 2, 5, 0, 2]]) | ||
output = knp.bincount( | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here you should only remove lines corresponding to bincount tests.
Now you are adding for
average
for some reasonThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry, while resolving the merge conflict I took a merge with the master branch and it was an incoming change so I did kept a combination of both current and incoming, I will remove it.
Thank you