mirror of
https://github.com/pytorch/pytorch.git
synced 2026-11-20 09:04:25 +08:00
[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:
committed by
GitHub
parent
77660a9cbb
commit
de4e97e89a
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user