Skip to content

v1.31 Fix `SGDW(momentum=0)` case

Compare
Choose a tag to compare
@OverLordGoldDragon OverLordGoldDragon released this 30 May 17:33
· 13 commits to master since this release
6f9c633

BUGFIXES:

  • SGDW with momentum=0 would bug per variable scoping issues; rewritten code is correct and should run a little faster. Files affected: optimizers_v2.py, optimizers_225tf.py

MISC:

  • Added test case for SGDW(momentum=0)
  • Added control test for SGDW(momentum=0) vs SGD(momentum=0)
  • tests/import_selection.py -> tests/backend.py
  • test_optimizers.py can now run as __main__ without manually changing paths / working directories