Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SwinTransformer/Transformer-SSL
/ check_keywords_in_name
Function
check_keywords_in_name
optimizer.py:52–57 ·
view source on GitHub ↗
(name, keywords=())
Source
from the content-addressed store, hash-verified
50
51
52
def
check_keywords_in_name(name, keywords=()):
53
isin = False
54
for
keyword in keywords:
55
if
keyword in name:
56
isin = True
57
return
isin
Callers
1
set_weight_decay
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected