Skip to content

Commit

Permalink
add AITM component & upgrade NaryDisEmbedding & fix a few bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
yangxudong committed Sep 27, 2024
1 parent 7dd7de2 commit f8e79bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion easy_rec/python/layers/keras/numerical_embedding.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def __init__(self,
else:
self.bias = None

def __call__(self, x, *args, **kwargs):
def call(self, x, **kwargs):
if x.shape.ndims != 3:
raise ValueError(
'The input must have three dimensions (batch_size, n_tokens, d_embedding)'
Expand Down

0 comments on commit f8e79bc

Please sign in to comment.