Skip to content

Commit

Permalink
Update embedding_bag.py (#2804)
Browse files Browse the repository at this point in the history
`self.input_length` is not defined, which affects the pickling / unpickling of this layer in `tf` model mode.
  • Loading branch information
AlexanderLavelle authored Feb 23, 2023
1 parent 14af819 commit 104e345
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tensorflow_addons/layers/embedding_bag.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ def get_config(self):
self.embeddings_constraint
),
"mask_zero": self.mask_zero,
"input_length": self.input_length,
"combiner": self.combiner,
}
base_config = super(EmbeddingBag, self).get_config()
Expand Down

0 comments on commit 104e345

Please sign in to comment.