Skip to content

Commit 5283c81

Browse files
kit1980facebook-github-bot
authored andcommitted
Delete duplicate code (#890)
Summary: Pull Request resolved: #890 Reviewed By: joshuadeng Differential Revision: D42008346 Pulled By: kit1980 fbshipit-source-id: f33ac0ccea8b8f099500bc83dfaa43b4a095fed0
1 parent b2b8687 commit 5283c81

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

contrib/dynamic_embedding/src/torchrec_dynamic_embedding/id_transformer_group.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -166,12 +166,6 @@ def __contains__(self, path):
166166
"""
167167
return path in self._id_transformer_collections
168168

169-
def __contains__(self, path):
170-
"""
171-
Check if there is transformer for the path.
172-
"""
173-
return path in self._id_transformer_collections
174-
175169
def __del__(self):
176170
"""
177171
Stop the parallel threads

0 commit comments

Comments
 (0)