Skip to content

Commit

Permalink
Support object-based programming in eager mode and enable tf.function…
Browse files Browse the repository at this point in the history
… on dynamic_embedding.
  • Loading branch information
Lifann committed Dec 15, 2021
1 parent fcbe164 commit 001d90f
Show file tree
Hide file tree
Showing 9 changed files with 1,482 additions and 37 deletions.
3 changes: 3 additions & 0 deletions tensorflow_recommenders_addons/dynamic_embedding/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
'enable_train_mode',
'get_model_mode',
'math',
'native_ops',
]

from tensorflow_recommenders_addons.dynamic_embedding.python.ops import math_ops as math
Expand Down Expand Up @@ -87,5 +88,7 @@
)
from tensorflow_recommenders_addons.dynamic_embedding.python.ops.tf_patch import (
patch_on_tf,)
from tensorflow_recommenders_addons.dynamic_embedding.python.ops import native_dynamic_embedding_ops as native_ops
from tensorflow_recommenders_addons.dynamic_embedding.python.ops import layers

patch_on_tf()
Loading

0 comments on commit 001d90f

Please sign in to comment.