Skip to content

Commit

Permalink
🐛Followed mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
carefree0910 committed Jun 16, 2022
1 parent f36c44e commit 8ca6408
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cflearn/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ def register_(
if tag in cls.d:
return tag

@cls.register(tag)
@cls.register(tag) # type: ignore
class _(cls): # type: ignore
names = base_loss_names

Expand Down Expand Up @@ -653,7 +653,7 @@ def register_(
if tag in cls.d:
return tag

@cls.register(tag)
@cls.register(tag) # type: ignore
class _(cls): # type: ignore
loss_name = base_loss_name
aux_names = aux_loss_names
Expand Down

0 comments on commit 8ca6408

Please sign in to comment.