-
Notifications
You must be signed in to change notification settings - Fork 139
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
[feature] ragged tensor support and enable ShadowVariable look up for safe_embedding_lookup_sparse #397
Conversation
1652941
to
84d1c40
Compare
37e2bbe
to
13fa638
Compare
2df0e53
to
2aea76e
Compare
tensorflow_recommenders_addons/dynamic_embedding/python/ops/ragged_embedding_ops.py
Outdated
Show resolved
Hide resolved
tensorflow_recommenders_addons/dynamic_embedding/python/ops/ragged_embedding_ops.py
Outdated
Show resolved
Hide resolved
tensorflow_recommenders_addons/dynamic_embedding/python/ops/shadow_embedding_ops.py
Outdated
Show resolved
Hide resolved
tensorflow_recommenders_addons/dynamic_embedding/python/ops/shadow_embedding_ops.py
Outdated
Show resolved
Hide resolved
return embeddings | ||
|
||
|
||
def embedding_lookup_sparse( |
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.
In the spirit of TensorFlow API designation, may we merge the logic of processing the ragged tensor into the API with the same name in the dynamic_embedding_ops.py
.(it is up on you, considering the complexity)
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.
thanks for review, tf's raggedtensor also live in seperated file, so this maybe ok?
c737b3d
to
4280d1d
Compare
d1bbbec
to
ba85400
Compare
…pport raggedtensor
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.
LGTM
Description
Brief Description of the PR:
Fixes # (issue)
Type of change
Checklist:
How Has This Been Tested?
If you're adding a bugfix or new feature please describe the tests that you ran to verify your changes:
*