Skip to content

Instantly share code, notes, and snippets.

@lewtun
Created January 20, 2022 11:00
Show Gist options
  • Save lewtun/c58c71ae803a7801d9ef11324260a9a3 to your computer and use it in GitHub Desktop.
Save lewtun/c58c71ae803a7801d9ef11324260a9a3 to your computer and use it in GitHub Desktop.
if any(nd in n for nd in no_decay):
params_without_wd.append(p)
else:
params_with_wd.append(p)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment