added lbfgs support (#310)

* added lbfgs support

* added lbfgs support

* added lbfgs support

* Fixes #280 (#309)

* added test seeds (#306)

* added test seeds

* added test seeds

* updated docs

* added lbfgs support

* added lbfgs support

* added lbfgs support

* added lbfgs support

* added lbfgs support

* added lbfgs support

* added lbfgs support

* added lbfgs support
This commit is contained in:
William Falcon authored and GitHub committed 2019-10-05 11:10:21 -04:00
1 parent c9786cdef1
commit 75fd89106f
5 files changed
+14 -10

No files matched your search

@@ -200,8 +200,7 @@ Set up as many optimizers and (optionally) learning rate schedulers as you need.
Lightning will call .backward() and .step() on each one in every epoch. If you use 16 bit precision it will also handle that.
**Note:** If you use multiple optimizers, training_step will have an additional ```optimizer_idx``` parameter.
**Note 2:** If you use LBFGS lightning handles the closure function automatically for you.
##### Return
Return any of these 3 options: