[C++ API] Cursors (#8190)

* Add cursors to C++ API

* Small self nits

* s/struct/class

* Use more STL like names for cursors
This commit is contained in:
Peter Goldsborough
2018-06-11 09:48:43 -07:00
committed by GitHub
parent 77660a9cbb
commit de4e97e89a
17 changed files with 873 additions and 153 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ TEST_CASE("optim") {
auto model = std::make_shared<Sequential>(
SigmoidLinear(Linear(2, 8).build()), SigmoidLinear(Linear(8, 1).build()));
// FLAKY!
// Flaky
// SECTION("lbfgs") {
// auto optim = LBFGS(model, 5e-2).max_iter(5).make();
// REQUIRE(test_optimizer_xor(optim, model));