test with nonconvex loss function added
Compare changes
Files
4+ 125
− 12
@@ -8,6 +9,19 @@ sys.path.append('../model_zoo')
@@ -34,6 +48,40 @@ def test_rosenbrock(dim=2, optimizer='sgd', lr=1.e-4, epochs=10000, threshold=1.
@@ -41,43 +89,108 @@ def test_rosenbrock(dim=2, optimizer='sgd', lr=1.e-4, epochs=10000, threshold=1.