-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[Op][Core] Add ScatterNDUpdate-14 core and reference #23754
[Op][Core] Add ScatterNDUpdate-14 core and reference #23754
Conversation
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.
It looks not covering TF case with duplicating indices: https://www.tensorflow.org/api_docs/python/tf/raw_ops/TensorScatterUpdate. We initially agreed to add such support not only reduction modes
Will we support it?
…into mateuszm/op/scatternd/core
…into mateuszm/op/scatternd/core
Yes, sorry, forgot to add test cases for that scenario: https://github.com/openvinotoolkit/openvino/pull/23754/files#diff-b3357cd694cf99989466fe2fb084606a048a1af52c233b36312e3aac6be2a6c8R257-R325 |
Cool, please also update specification with such a case. Should we add additional attribute to Best regards, |
You can check specification PR here, it mentions behavior in case of duplicate indices and added attribute used to select reduction modes. |
…into mateuszm/op/scatternd/core
…lajcz/openvino into mateuszm/op/scatternd/core
…into mateuszm/op/scatternd/core
…into mateuszm/op/scatternd/core
…into mateuszm/op/scatternd/core
src/plugins/template/tests/functional/op_reference/scatter_nd_update.cpp
Outdated
Show resolved
Hide resolved
src/plugins/template/tests/functional/op_reference/scatter_nd_update.cpp
Outdated
Show resolved
Hide resolved
src/plugins/template/tests/functional/op_reference/scatter_nd_update.cpp
Show resolved
Hide resolved
src/plugins/template/tests/functional/op_reference/scatter_nd_update.cpp
Outdated
Show resolved
Hide resolved
src/plugins/template/tests/functional/op_reference/scatter_nd_update.cpp
Outdated
Show resolved
Hide resolved
src/core/reference/include/openvino/reference/scatter_nd_update.hpp
Outdated
Show resolved
Hide resolved
…into mateuszm/op/scatternd/core
src/core/reference/include/openvino/reference/scatter_nd_update.hpp
Outdated
Show resolved
Hide resolved
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.
Just a reminder to register shape_infer
for CPU (can be done as a follow up).
There is a common shape_infer for ScatterNDBase
that can be reused for the new version of the op.
_OV_OP_SHAPE_INFER_MASK_REG(opset4::ScatterNDUpdate, ShapeInferTA, util::bit::mask()), |
…otoolkit#23754)" This reverts commit 345a31c.
…#23754) ### Details: - *Add core implementation for ScatterNDUpdates-14* - *Add reference implementation for ScatterNDUpdates-14* ### Tickets: - *111098* - *111091* - *111093*
Details:
Tickets: