-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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] Add and update specifications for EmbeddingBag ops #25100
[Opset15][Spec] Add and update specifications for EmbeddingBag ops #25100
Conversation
...tation/openvino-ir-format/operation-sets/operation-specs/sparse/embedding-bag-offsets-15.rst
Outdated
Show resolved
Hide resolved
...ntation/openvino-ir-format/operation-sets/operation-specs/sparse/embedding-bag-packed-15.rst
Outdated
Show resolved
Hide resolved
* **1**: ``emb_table`` tensor containing the embedding lookup table of the module of shape ``[num_emb, emb_dim1, emb_dim2, ...]`` and of type *T*. **Required.** | ||
* **2**: ``indices`` tensor of shape ``[num_indices]`` and of type *T_IND*. **Required.** | ||
* **3**: ``offsets`` tensor of shape ``[batch]`` and of type *T_IND* containing the starting index positions of each "bag" in ``indices``. Maximum value of offsets cannot be greater than length of ``indices``. **Required.** | ||
* **4**: ``default_index`` scalar of type *T_IND* containing default index in embedding table to fill empty "bags". If set to ``-1`` or not provided, empty "bags" are filled with zeros. Reverse indexing using negative values is not supported. **Optional.** |
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.
Usage of -1
is not an ideal solution, but as we discussed it's aligned with current behavior of some plugins and it resolves the empty bags issues. Although the main reason of adding v15 version was enablement of the "mean" mode, great to see the clarification of the default_index
behavior as well.
...tation/openvino-ir-format/operation-sets/operation-specs/sparse/embedding-bag-offsets-15.rst
Outdated
Show resolved
Hide resolved
…into mateuszm/emb/pack/spec
…25100) ### Details: - *Add specification for EmbeddingBagOffsets-15 and EmbeddingBagPacked-15* - *Remove dead links and improve specification of EmbeddingBagOffsetsSum-3 and EmbeddingBagPackedSum-3* ### Tickets: - *141862* - *141863*
…penvinotoolkit#25100) ### Details: - *Add specification for EmbeddingBagOffsets-15 and EmbeddingBagPacked-15* - *Remove dead links and improve specification of EmbeddingBagOffsetsSum-3 and EmbeddingBagPackedSum-3* ### Tickets: - *141862* - *141863*
…penvinotoolkit#25100) ### Details: - *Add specification for EmbeddingBagOffsets-15 and EmbeddingBagPacked-15* - *Remove dead links and improve specification of EmbeddingBagOffsetsSum-3 and EmbeddingBagPackedSum-3* ### Tickets: - *141862* - *141863*
Details:
Tickets: